Skip to content

flavray/pyavro-rs

Repository files navigation

pyavro-rs

GitHub version Build Status MIT licensed

Python wrapper for the avro-rs library. It relies on the official C bindings (avro-rs-ffi).

This library can be used both directly from native C programs or interfaced with your favorite language to offload encoding and ecoding of Apache Avro messages.

For more information on how the original avro-rs works, please have a look at the documentation.

Installation

The installation currently requires cargo to be installed (this will change in the future!)

Here are the steps to follow in order to run the example code within a virtualenv:

# Install rustup - https://www.rust-lang.org/en-US/install.html
$ curl https://sh.rustup.rs -sSf | sh

# Clone pyavro_rs, with the avro-rs-ffi submodule
$ git clone --recursive https://github.com/flavray/pyavro-rs.git

$ cd pyavro_rs/examples/
$ virtualenv virtualenv_run/
$ source virtualenv_run/bin/activate

# Install pyavro_rs
$ pip install -e ..

$ python example.py

About

Python wrapper around avro-rs and avro-rs-ffi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published