Metadata-Version: 2.1
Name: drs-bloom-filter
Version: 2.2
Summary: Pure Python Bloom Filter module
Home-page: http://stromberg.dnsalias.org/~strombrg/drs-bloom-filter/
Author: Daniel Richard Stromberg
Author-email: strombrg@gmail.com
License: MIT
Keywords: probabilistic set datastructure
Platform: Cross platform
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3


A pure python bloom filter (low storage requirement, probabilistic
set datastructure) is provided.

Includes mmap, in-memory and disk-seek backends.

The user specifies the desired maximum number of elements and the
desired maximum false positive probability, and the module
calculates the rest.

Example use:
    >>> bf = bloom_filter_mod.Bloom_filter(ideal_num_elements_n=100, error_rate_p=0.01)
    >>> for i in range(0, 200, 2):
    ...     bf.add(i)
    ...
    >>> for i in range(0, 200, 3):
    ...     print(i in bf)
    ...


