Skip to main content

python3 Bloom Filter

Project description

=========
`pybfilter` is a module that include a Bloom Filter data structure.

A Bloom filter is a space-efficient probabilistic data structure that is used to test whether an element is a member of a set.

usage
-----

>>> import pybfilter
>>> bf = pybfilter.BloomFilter(n=1000, error=0.01)
>>> bf.add(1)
True
>>> bf.add(1)
False
>>> 1 in bf
True
>>> 2 in bf
False


Keywords: Bloom Filter
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pybfilter-0.1.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None May 7, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page