$npx skillfedfor your agent

bloomfilter-py

Yet another bloomfilter implementation in Python

With conditionsPyPI Python ModulesReleased Aug 2024249.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — bloomfilter_py-1.1.0-py3-none-any.whl
v1.1.0 · released 2024-08-10 · Python >=3.8 · 2 runtime deps: bitarray, mmh3

Yes, if you need Bloom filter functionality with Java Guava compatibility. The low install friction, permissive MIT license, and stable API make it straightforward to adopt. However, dormant maintenance (last activity 2024-08-10, no recent commits) means you should verify compatibility with your target Python version and be prepared to fork or switch if future dependency updates break compatibility. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Runtime dependencies bitarray and mmh3 must be installed (handled automatically by pip).
  • Low install friction with only two runtime dependencies (bitarray and mmh3).

License · maintenance · safety

permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions. You may use this in commercial or proprietary projects provided you include the license notice.

last release 2024-08-10 (734 days) · last repo commit 2024-08-10 · 12 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 249,786 downloads/mo, #8,646 on PyPI

Verify before relying

pip install bloomfilter-py

from bloomfilter import BloomFilter
bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
bloom_filter.put(1)
print(1 in bloom_filter)  # True
dumps = bloom_filter.dumps()
bf = BloomFilter.loads(dumps)
  • Whether the Guava compatibility extends to all serialization formats or only specific versions of Guava.
  • Performance characteristics (memory footprint, insertion/lookup speed) compared to other Bloom filter implementations.
  • Whether dormant maintenance status will affect compatibility with future Python or dependency updates.
Same gist for agents: .md · .json

What it is and what it does

bloomfilter-py is a Bloom filter library designed to bridge Python and Java ecosystems. It implements the probabilistic data structure for fast membership testing (answering 'is X in this set?' with no false negatives but possible false positives) and focuses specifically on serializing and deserializing Bloom filters in a format compatible with Java's Guava library. This solves the problem of exchanging Bloom filter state between Python and Java applications without reimplementing the entire structure.

The package provides multiple serialization formats—raw bytes, hex strings, and base64-encoded data—making it flexible for storage and transmission. You create a filter by specifying expected insertions and error rate, add items with `put()`, test membership with the `in` operator, and serialize/deserialize using `dumps()`, `loads()`, and their format-specific variants. It depends on bitarray for efficient bit manipulation and mmh3 for hashing.

Use it for

  • Exchanging Bloom filter state between Python microservices and Java backend systems without data loss or format conversion.
  • Caching membership tests in distributed systems where false positives are acceptable but false negatives are not.
  • Deduplication pipelines that need to share filter snapshots across language boundaries for consistency.
  • Testing Java Guava Bloom filter implementations by round-tripping serialized data through Python.
  • Building probabilistic data structures for URL or item deduplication in web crawlers or ETL pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Bloom filter functionality with Java Guava compatibility.

The low install friction, permissive MIT license, and stable API make it straightforward to adopt. However, dormant maintenance (last activity 2024-08-10, no recent commits) means you should verify compatibility with your target Python version and be prepared to fork or switch if future dependency updates break compatibility. No known vulnerabilities.

Install

bloomfilter-py on PyPI

Before you install

Low install friction with only two runtime dependencies (bitarray and mmh3). Maintenance is dormant—last commit was 2024-08-10 but no activity since, and the repository has only 12 stars. The package is marked Production/Stable and supports Python 3.8 through 3.12, but future updates are uncertain.

Requires Python 3.8 or later. Runtime dependencies bitarray and mmh3 must be installed (handled automatically by pip).

License in practice

MIT License permits unrestricted use, modification, and distribution with minimal restrictions. You may use this in commercial or proprietary projects provided you include the license notice.

Quickstart

pip install bloomfilter-py

from bloomfilter import BloomFilter
bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
bloom_filter.put(1)
print(1 in bloom_filter)  # True
dumps = bloom_filter.dumps()
bf = BloomFilter.loads(dumps)

Verify before relying

  • Whether the Guava compatibility extends to all serialization formats or only specific versions of Guava.
  • Performance characteristics (memory footprint, insertion/lookup speed) compared to other Bloom filter implementations.
  • Whether dormant maintenance status will affect compatibility with future Python or dependency updates.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
bitarraymmh3
MaintenanceDormant 734 days since the last release
Last repo commit
First released
Downloads249,786 / month, #8,646 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: bloomfilter_py-1.1.0-py3-none-any.whl

Tags

Capabilities
bloom filter pythonguava bloom filter compatiblebloom filter serializationprobabilistic set membershipbloom filter java interopbloom filter implementationcross-language bloom filter
Topics
bloom-filterjava-interopprobabilistic-data-structure
PyPI keywords
bloomfilter

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “bloom filter python”

  • bloomfilter-pyImplements Bloom filters in Python with serialization/deserialization…
  • eth-bloomImplements Ethereum's bloom filter algorithm for efficient membership…
  • bloom-filter2A pure Python implementation of a Bloom filter—a probabilistic data…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also eth-bloom · pybloom-live · rbloom · bloom-filter2 · phpserialize · pyprobables · dill · PyByteBuffer · preshed · hickle