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.
pip install pyrpds
Add following lines to Cargo.toml:
[dependencies.pyrpds]
version = "<version>"
rustup install nightly
rustup override set nightly
conda env create -f environment.yaml
conda activate pyrpds
maturin develop
conda activate pyrpds
pytest