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 | RSS feed

This version

0.1

Download files

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

Source Distribution

pybfilter-0.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file pybfilter-0.1.tar.gz.

File metadata

  • Download URL: pybfilter-0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pybfilter-0.1.tar.gz
Algorithm Hash digest
SHA256 6107262c77999cd0d6631f643e5e73badf94052688bcb6e3c23159c3654a8242
MD5 3ae11a5609ff0603bf3b880e92f4d070
BLAKE2b-256 919df600e50bccb55160d791347c0142577edacc60580886e7c448cae4eb623a

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 Pingdom Monitoring Sentry Error logging StatusPage Status page