poppy-py 0.2.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

poppypy 0.2.0

This is a package providing python bindings for poppy, a bloom filter library written in Rust.
Installation from git
The following example assumes you are using virtualenvwrapper, it is trivial to adapt to make it work with your preferred python virtual environment.
With virtual environment
mkvirtualenv poppy
git clone https://github.com/hashlookup/poppy
cd poppy/poppy-py
# install maturin (tool shipped with PyO3)
pip install maturin
# installs current bindings into the current virtual env
maturin develop --release
python -c "import poppy; help(poppy)"

With maturin already installed
One can install maturin outside a virtual environment.
For example by doing:
pipx install maturin

Please look at the PyO3 documentation to find the different ways to install maturin.
Once this is done, the dependency can be simply installed with
git clone https://github.com/hashlookup/poppy
cd poppy/poppy-py
# installs current bindings into the current virtual env
maturin develop --release

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.