pyrpds

Crates.iopyrpds
lib.rspyrpds
version0.0.7
sourcesrc
created_at2020-04-20 23:33:00.599351
updated_at2020-05-15 04:47:50.280477
descriptionPython Wrapper for Rust Persistent Data Structures
homepagehttps://github.com/arakhmat/pyrpds/
repositoryhttps://github.com/arakhmat/pyrpds/
max_upload_size
id232355
size50,959
Akhmed Rakhmati (arakhmat)

documentation

README

Build Status Crates.io PyPI

Python Wrapper for Rust Persistent Data Structures

pyrpds is a library which provides CPython bindings to Rust's rpds library.

The project has 2 goals:

  • Allow packages that are built on top of rpds to expose Python bindings easily.
  • Provide faster drop-in replacements for pyrsistent data structures.

Python API will be exactly the same as pyrsistent API.

Installation Instructions

For Users

Python

pip install pyrpds

Rust

Add following lines to Cargo.toml:

[dependencies.pyrpds]
version = "<version>"

For Contributors

Installing Dependencies

Install Rust and Conda.

Installing nightly Rust

rustup install nightly
rustup override set nightly

Installing Conda environment

conda env create -f environment.yaml

Installing pyrpds

conda activate pyrpds
maturin develop

Testing pyrpds

conda activate pyrpds
pytest
Commit count: 55

cargo fmt