PyVRL is a Python library that allows you to execute Vector Remap Language (VRL) transformations directly within your Python applications. It provides bindings to the VRL compiler and runtime, enabling data manipulation, filtering, and routing with VRL expressions. The current version is 0.0.2, indicating it's in very early development with an irregular release cadence.
pip install pyvrlVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to compile a VRL expression and execute it on a Python dictionary, ensuring data is correctly converted to and from `pyvrl.value.Value` objects.
Always consult the latest GitHub README and any release notes for API changes before upgrading. Pin your dependency to a specific patch version if stability is critical.
Ensure all input data for VRL processing is wrapped using `pyvrl.value.Value(your_python_data)`. To retrieve Python-native types from `pyvrl` output, use the `.as_python()` method on the resulting `Value` object.
Thoroughly test VRL expressions for correctness before embedding them in your Python code. You may use external VRL validators or the `Vector` CLI to pre-validate complex VRL logic.
No dependency data recorded yet.