PDSA: Probabilistic Data Structures and Algorithms in Python
The Book
Everybody interested in learning more about probabilistic data structures and algorithms could be referred to our recently published book:
Probabilistic Data Structures and Algorithms for Big Data Applications by Andrii Gakhov
2019, ISBN: 978-3748190486 (paperback) ASIN: B07MYKTY8W (e-book)
Introduction
Probabilistic data structures is a common name of data structures based on different hashing techniques.
Unlike regular (or deterministic) data structures, they always provide approximated answers, but usually with reliable ways to estimate the error probability.
The potential losses or errors are fully compensated by extremely low memory requirements, constant query time and scaling.
GitHub repository: https://github.com/gakhov/pdsa
Dependencies
Python 3.5+ (http://python.org/download/)
Cython 0.28+ (http://cython.org/#download)
Documentation
The latest documentation can be found at http://pdsa.readthedocs.io/en/latest/
Membership problem
Cardinality problem
Frequency problem
Rank problem
License
MIT License
Source code
Install with pip
Installation requires a working build environment.
Using pip, PDSA releases are currently only available as source packages.
$ pip3 install -U pdsa
When using pip it is generally recommended to install packages in a virtualenv to avoid modifying system state:
$ virtualenv .env -p python3 --no-site-packages
$ source .env/bin/activate
$ pip3 install -U cython
$ pip3 install -U pdsa
Compile from source
The other way to install PDSA is to clone its GitHub repository and build it from source.
$ git clone https://github.com/gakhov/pdsa.git
$ cd pdsa
$ make install
$ bin/pip3 install -r requirements-dev.txt
$ make test
Metadata
Release files for pdsa 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdsa-0.5.0.tar.gz | 31.3 kB | Without provenance | Details for pdsa-0.5.0.tar.gz |
Release files / pdsa-0.5.0.tar.gz
| Download URL | pdsa-0.5.0.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31af1bdacd8b67657eba5ddf58f66fa7c08f0367ffcf21216e974d79e9257fb6
|
|
BLAKE2b-256 checksum How to use checksums |
8dc8314237de481d7a5f92f37090dafa8a4ddaeeb17a580be60a01f413515a64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7
|
Security for pdsa 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.