Skip to main content
# A Simple Bloom Filter for Python

[![Build Status](https://travis-ci.org/sysatom/python-bloom-filter.svg?branch=master)](https://travis-ci.org/sysatom/python-bloom-filter)

### Install

```bash
pip install PyBloomFilter
```

### Usage

```python
from bfilter.bloomfilter import BloomFilter

bf = BloomFilter(100000, 7)
for i in range(5000):
bf.add('%s' % i)

print(bf.lookup('333'))
print(bf.lookup('100000'))
print(bf.lookup('500001'))
print(bf.lookup('510001'))
```

### Requirements

This project requires Python 3.6 or newer.

### License


You can find the license for this code in [the LICENSE file](LICENSE).


Metadata

Release files for bfilter 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bfilter 1.0.0
File Size Uploaded Provenance
bfilter-1.0.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bfilter 1.0.0
File Interpreter ABI Platform
bfilter-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / bfilter-1.0.0.tar.gz

Download URL bfilter-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40fc494d94e43a3b36a50c63bb0581605f3bb5a29d140526b85b7dbd26e1c5ed
BLAKE2b-256 checksum
How to use checksums
12f019e3580d20da0401b324ef1c27679dcdcacf040c616b790fc1f5446bd692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1

Release files / bfilter-1.0.0-py3-none-any.whl

Download URL bfilter-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e400966938ac452f022f0586b344c2a4f66d7581e0db044774716908f7c00862
BLAKE2b-256 checksum
How to use checksums
6de1647c3dd4e39dbf5fb198587d8e8d13538d5a24813995ad05a8518016da8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1

Security for bfilter 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page