Skip to content
/ pdsa Public
forked from gakhov/pdsa

Probabilistic Data Structures and Algorithms in Python

License

Notifications You must be signed in to change notification settings

jvcop/pdsa

 
 

Repository files navigation

PDSA: Probabilistic Data Structures and Algorithms in Python

Travis Build Status Current Release Version pypi Version Documentation Version Python versions

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.

The latest documentation can be found at http://pdsa.readthedocs.io/en/latest/

MIT License

  • Maintainer: Andrii Gakhov <andrii.gakhov@gmail.com>

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

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 build

$ bin/pip3 install -r requirements-dev.txt
$ make tests

About

Probabilistic Data Structures and Algorithms in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.4%
  • C++ 22.5%
  • C 2.0%
  • Makefile 1.1%