Skip to main content
Travis Build Status Current Release Version pypi Version Documentation Version Python versions

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

Documentation

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

Membership problem

Cardinality problem

Rank problem

License

MIT License

Source code

Authors

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

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

Download files

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

Source Distribution

pdsa-0.4.1.tar.gz (27.4 kB view details)

Uploaded Source

File details

Details for the file pdsa-0.4.1.tar.gz.

File metadata

  • Download URL: pdsa-0.4.1.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pdsa-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7eab5d85b6485e2a00d0da9ee081a3163527215fb1de922da7ad981806de5013
MD5 9c088b0af9dca0b57c6bbc3dcad8de6d
BLAKE2b-256 cada2958161fb8acaeaf0dff8194162e9d568f0c5f032be45a71c39ecb65fa8f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page