Skip to main content

Simple Bloom Filter implmentation in Python

Project description

Bloom Filter

Implemented in Python.

  • The price we pay for efficiency through bloom filters is that it is probabilistic in nature that means, there might be some False Positive results. False positive means, it might tell that given username is already taken but actually it’s not.
  • Not being False Negative such that telling that username doesn't exist while it is there, i.e., if exists it reports it's existenece in terms of maybe, else if not present it is 100% confident to report the same.
  • Deleting elements from filter is not possible because, if we delete a single element by clearing bits at indices generated by k hash functions, it might cause deletion of few other elements.

Distributed as a PyPi Package.

Dependencies

  • Twine
  • bitarray
  • setuptools
  • wheel

Project details


Download files

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

Source Distribution

bloomf-0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

bloomf-0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file bloomf-0.2.tar.gz.

File metadata

  • Download URL: bloomf-0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bloomf-0.2.tar.gz
Algorithm Hash digest
SHA256 d53bf7e0ae8d5948ee108ace29769c9ae8c6e708b931a148c8ecd523e823d8dc
MD5 761e5bd5fbc6143393a27709b510a8db
BLAKE2b-256 ca2e754cc4ec38a80cac47eb92cce5e0c72e27d5add79cf9f56c78ed2e4e2cfe

See more details on using hashes here.

File details

Details for the file bloomf-0.2-py3-none-any.whl.

File metadata

  • Download URL: bloomf-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bloomf-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5dde8fa9e054bde675d347bdf7001abf2fd0cbdc741349464bdf08f6051c915a
MD5 b9d2a3ed6276ed353c11e25523817549
BLAKE2b-256 c637b931adcd422b9548ac4b3bde6fbc562fbc731631b8d74c4892a36749f6ea

See more details on using hashes here.

Supported by

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