bech32m
Encoding/decoding Bech32 and Bech32m
Decision gist · record as of 2026-08-14
Yes, if you need a simple, dependency-free Bech32/Bech32m codec and can accept that the package will not receive updates. The implementation is stable and well-suited to production use for encoding and decoding, but do not install if you expect ongoing maintenance or compatibility updates as blockchain standards evolve.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Installation is frictionless—a pure Python wheel with no runtime dependencies.
- However, the package is abandoned: the last commit was 2023-07-13, over a year ago, and no updates have been released since 2023-06-14.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe to integrate into most projects.
last release 2023-06-14 (1157 days) · last repo commit 2023-07-13 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 171,376 downloads/mo, #10,370 on PyPI
Alternatives
Verify before relying
pip install bech32m
from bech32m import bech32_encode, bech32_decode
# Encode data to Bech32m
encoded = bech32_encode('bc', data)
# Decode Bech32m string
hrp, decoded = bech32_decode(encoded)- Whether the implementation handles all edge cases and malformed input robustly, given the lack of ongoing maintenance.
- Compatibility with the latest Bitcoin or blockchain protocol updates since the last release in June 2023.
What it is and what it does
bech32m is a Python library that implements encoding and decoding for Bech32 and Bech32m, the checksummed base32 address formats used in Bitcoin and blockchain systems. It provides the core operations needed to convert between raw data and human-readable, error-detecting address strings.
The package requires Python 3.9 or later and has no external runtime dependencies, making it lightweight and easy to integrate. It is classified as production-stable but has been abandoned since mid-2023, meaning no new features or bug fixes are planned. Use it when you need a straightforward, dependency-free implementation of these encoding standards for existing applications, but be aware you cannot rely on upstream maintenance.
Use it for
- Validate or generate Bitcoin addresses in applications that work with blockchain wallets or payment systems.
- Encode raw public keys or hashes into human-readable Bech32m format for display or transmission.
- Decode user-supplied Bech32 or Bech32m strings to extract the underlying data and verify checksums.
- Integrate Bech32 encoding into command-line tools or scripts that interact with Bitcoin or similar blockchain networks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a simple, dependency-free Bech32/Bech32m codec and can accept that the package will not receive updates.
The implementation is stable and well-suited to production use for encoding and decoding, but do not install if you expect ongoing maintenance or compatibility updates as blockchain standards evolve.
Install
bech32m on PyPI
Before you install
Installation is frictionless—a pure Python wheel with no runtime dependencies. However, the package is abandoned: the last commit was 2023-07-13, over a year ago, and no updates have been released since 2023-06-14. Use only if you need a stable, unchanging implementation.
Requires Python 3.9 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe to integrate into most projects.
Quickstart
pip install bech32m
from bech32m import bech32_encode, bech32_decode
# Encode data to Bech32m
encoded = bech32_encode('bc', data)
# Decode Bech32m string
hrp, decoded = bech32_decode(encoded)
Verify before relying
- Whether the implementation handles all edge cases and malformed input robustly, given the lack of ongoing maintenance.
- Compatibility with the latest Bitcoin or blockchain protocol updates since the last release in June 2023.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,157 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 171,376 / month, #10,370 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9Topic :: Security :: Cryptography |
Evidence: bech32m-1.0.0-py3-none-any.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 › “bech32m bitcoin address”
- bech32mEncodes and decodes Bech32 and Bech32m strings, the checksummed…
- bitcoin-utilsA low-level Bitcoin library providing tools to create and parse…
- base58checkEncodes and decodes byte arrays using the Base58Check scheme, a…
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 bech32 · leb128 · base32-crockford · base58 · base58check · scalecodec · rlp · cchecksum · faster-eth-abi · bases