Code Monkey home page Code Monkey logo

pyo3avro-rs's Introduction

pyo3avro-rs

GitHub version Build Status MIT licensed

CPython wrapper for the avro-rs library. It uses the pyo3 Rust framework to interact with the CPython interpreter.

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 test suite:

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

# Install pipenv - https://docs.pipenv.org/en/latest/install/#installing-pipenv
$ pip install --user pipenv

# Clone pyo3avro_rs
$ git clone https://github.com/flavray/pyo3avro-rs.git

# Build the project
$ cd pyo3avro_rs/
$ make

# Run the test suite
$ make test

Here are the steps to follow in order to run an example:

# Run the example
$ pipenv run python examples/example.py

Existing Rust installation

This project requires rust nightly >= 1.31 (see this comment)

You may have to force your rustup update if you come across the following error:

Caused by: feature `rename-dependency` is required

# Update rust nightly
$ rustup update --force
$ rustup override set nightly

pyo3avro-rs's People

Contributors

flavray avatar poros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.