Skip to main content

Python Wrapper for Rust Persistent Data Structures

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyrpds-0.0.7-cp38-cp38-manylinux1_x86_64.whl (206.8 kB view details)

Uploaded CPython 3.8

File details

Details for the file pyrpds-0.0.7-cp38-cp38-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyrpds-0.0.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7ce3f22c8e70c8faecd96c154481f2bd28d65249999c0a34196d58f1f18839a5
MD5 5eac7202f0c7a6707760fb7a4869ba9d
BLAKE2b-256 00a498ffaa41b76a00c71be943209ad0f25e24f9c3692161302b42cba3247552

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page