chiabip158
Chia BIP158 (wraps C++)
Decision gist · record as of 2026-08-14
Yes, if you are building or contributing to Chia blockchain infrastructure or implementing BIP 158/157 support. The package is actively maintained, has no external dependencies, and offers prebuilt wheels for modern Python versions. Install friction is moderate but manageable. Not relevant for general-purpose Python development outside blockchain contexts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; prebuilt wheels available for modern Python versions.
- Older Python versions may require compilation from source.
- Medium install friction due to compiled C++ bindings; prebuilt wheels available for multiple Python versions on macOS, Linux (x64 and aarch64), and Windows.
License · maintenance · safety
Apache License (permissive) — Licensed under Apache License (permissive), allowing commercial and private use with minimal restrictions.
last release 2025-11-06 (281 days) · last repo commit 2026-08-14 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 427,269 downloads/mo, #6,752 on PyPI
Alternatives
Verify before relying
pip install chiabip158
import chiabip158
# Use the module's filter construction functions as documented in the repository- What specific functions or classes are exposed by the module for filter construction and querying
- Whether the package is actively used in production Chia blockchain deployments or remains primarily a reference implementation
- Performance characteristics and filter size/speed trade-offs compared to alternative implementations
What it is and what it does
chiabip158 is a Python wrapper around a C++ implementation of BIP 158, the Bitcoin Improvement Proposal standard for compact block filters. It provides the core algorithm for constructing and working with block filters—a space-efficient way to represent which transactions are in a block without transmitting the full block data. This is foundational infrastructure for lightweight blockchain clients and indexing systems.
The package is maintained by the Chia Network and serves as a reference implementation and building block for BIP 157 support (which adds a network protocol for distributing these filters). It has no Python runtime dependencies, relying entirely on its compiled C++ core. Installation is straightforward on modern Python versions via prebuilt wheels, though older Python versions may require a C++ compiler and build tools.
Use it for
- Building lightweight blockchain clients that need to filter blocks without downloading full block data
- Implementing block indexing systems that construct and store BIP 158 filters for historical blockchain data
- Developing BIP 157 network protocol support to serve block filters to other clients
- Cryptocurrency wallet applications that need efficient block scanning without full node overhead
- Blockchain analysis and research requiring compact filter generation and querying
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or contributing to Chia blockchain infrastructure or implementing BIP 158/157 support.
The package is actively maintained, has no external dependencies, and offers prebuilt wheels for modern Python versions. Install friction is moderate but manageable. Not relevant for general-purpose Python development outside blockchain contexts.
Install
chiabip158 on PyPI
Before you install
Medium install friction due to compiled C++ bindings; prebuilt wheels available for multiple Python versions on macOS, Linux (x64 and aarch64), and Windows. No runtime dependencies. Last release 281 days ago; repository is active with recent commits.
Requires Python 3.7 or later; prebuilt wheels available for modern Python versions. Older Python versions may require compilation from source.
License in practice
Licensed under Apache License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install chiabip158
import chiabip158
# Use the module's filter construction functions as documented in the repository
Verify before relying
- What specific functions or classes are exposed by the module for filter construction and querying
- Whether the package is actively used in production Chia blockchain deployments or remains primarily a reference implementation
- Performance characteristics and filter size/speed trade-offs compared to alternative implementations
Package facts
| License | Apache License permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 281 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 427,269 / month, #6,752 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: chiabip158-1.5.4-cp310-cp310-macosx_13_0_arm64.whl; chiabip158-1.5.4-cp310-cp310-macosx_13_0_x86_64.whl; chiabip158-1.5.4-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; chiabip158-1.5.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; chiabip158-1.5.4-cp310-cp310-win_amd64.whl; chiabip158-1.5.4-cp311-cp311-macosx_13_0_arm64.whl; chiabip158-1.5.4-cp311-cp311-macosx_13_0_x86_64.whl; chiabip158-1.5.4-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; chiabip158-1.5.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; chiabip158-1.5.4-cp311-cp311-win_amd64.whl; chiabip158-1.5.4-cp312-cp312-macosx_13_0_arm64.whl; chiabip158-1.5.4-cp312-cp312-macosx_13_0_x86_64.whl; chiabip158-1.5.4-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; chiabip158-1.5.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; chiabip158-1.5.4-cp312-cp312-win_amd64.whl; chiabip158-1.5.4-cp313-cp313-macosx_13_0_arm64.whl; chiabip158-1.5.4-cp313-cp313-macosx_13_0_x86_64.whl; chiabip158-1.5.4-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; chiabip158-1.5.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl; chiabip158-1.5.4-cp313-cp313-win_amd64.whl
Tags
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 › “BIP 158 block filters”
- chiabip158Implements the BIP 158 compact block filter construction algorithm,…
- bip32Implements BIP 32 hierarchical deterministic (HD) wallet key…
- blkinfoRetrieves structured information about block devices on a system by…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also chiapos · chialisp-puzzles · chia-rs · chia-puzzles-py · chiavdf · chia-base · bech32m · clvm-rs · mnemonic