bip32
Minimalistic implementation of BIP32 (Bitcoin HD wallets)
Decision gist · record as of 2026-08-14
Yes, if you need BIP 32 key derivation for Bitcoin wallets or cryptographic applications. The implementation is minimal and focused, with low install friction and no known vulnerabilities. Maintenance is aging (274 days since release), so verify that the package meets your stability and support expectations before adopting it in production. The BSD-3-Clause license is permissive and poses no barrier.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- coincurve wraps libsecp256k1, which may require a C compiler or prebuilt binaries on some platforms.
- Low friction: pure Python wheel with a single compiled dependency (coincurve).
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions; you must include the license text and original copyright notice.
last release 2025-11-13 (274 days) · last repo commit 2025-11-13 · 51 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 225,646 downloads/mo, #9,217 on PyPI
Alternatives
Verify before relying
pip install bip32
from bip32 import BIP32, HARDENED_INDEX
bip32 = BIP32.from_seed(bytes.fromhex("01"))
xpriv = bip32.get_xpriv_from_path("m/1/0'/9998")
pubkey = bip32.get_pubkey_from_path("m/1/1/1/1/1/1/1/1/1/1/1")- Whether the package is actively maintained or in maintenance-only mode (last release 274 days ago, but recent commits suggest ongoing work).
- Performance characteristics for deep derivation paths or batch key generation.
- Common wallet derivation path standards supported beyond the examples shown.
What it is and what it does
BIP 32 is the Bitcoin standard for hierarchical deterministic wallets—a way to derive many cryptographic keys from a single seed in a deterministic, hierarchical structure. This package provides a minimal Python implementation that lets you create a BIP32 instance from a raw seed, an extended private key (xpriv), or an extended public key (xpub), then derive child keys at any depth using standard path notation. It supports both hardened and unhardened derivation, and can return keys in multiple formats: raw bytes, extended keys with chain codes, or serialized base58-encoded strings.
The package wraps coincurve for elliptic curve operations on secp256k1, the curve Bitcoin uses. It's designed for applications that need to manage hierarchical key structures—wallet software, hardware wallet interfaces, or key management systems. The interface is straightforward: instantiate from a seed or master key, then call methods like get_xpriv_from_path() or get_pubkey_from_path() with a derivation path as either a list of integers or a string.
Use it for
- Generate a complete set of Bitcoin wallet addresses from a single seed phrase in a deterministic, recoverable way.
- Derive public keys for address generation without exposing the private key (public-only derivation from xpub).
- Implement multi-account or multi-address wallet hierarchies following the BIP 32 standard.
- Build key management or hardware wallet interfaces that need to derive keys on demand.
- Create deterministic key hierarchies for testing or cryptographic applications requiring secp256k1.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need BIP 32 key derivation for Bitcoin wallets or cryptographic applications.
The implementation is minimal and focused, with low install friction and no known vulnerabilities. Maintenance is aging (274 days since release), so verify that the package meets your stability and support expectations before adopting it in production. The BSD-3-Clause license is permissive and poses no barrier.
Install
bip32 on PyPI
Before you install
Low friction: pure Python wheel with a single compiled dependency (coincurve). Maintenance is aging—274 days since last release—but the repository remains active with recent commits and no archived status.
Requires Python 3.9 or later. coincurve wraps libsecp256k1, which may require a C compiler or prebuilt binaries on some platforms.
License in practice
BSD-3-Clause (permissive) allows commercial and private use with minimal restrictions; you must include the license text and original copyright notice.
Quickstart
pip install bip32
from bip32 import BIP32, HARDENED_INDEX
bip32 = BIP32.from_seed(bytes.fromhex("01"))
xpriv = bip32.get_xpriv_from_path("m/1/0'/9998")
pubkey = bip32.get_pubkey_from_path("m/1/1/1/1/1/1/1/1/1/1/1")
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode (last release 274 days ago, but recent commits suggest ongoing work).
- Performance characteristics for deep derivation paths or batch key generation.
- Common wallet derivation path standards supported beyond the examples shown.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecoincurve |
| Maintenance | Aging 274 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 225,646 / month, #9,217 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Security :: Cryptography |
Evidence: bip32-5.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 › “BIP32 key derivation”
- bip32Implements BIP 32 hierarchical deterministic (HD) wallet key…
- hdwalletGenerates hierarchical deterministic (HD) wallets for 200+…
- slip10Implements SLIP-0010 hierarchical deterministic key derivation for…
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 hdwallet · slip10 · bip-utils · mnemonic · py-bip39-bindings · eth-keyfile · nkeys · hkdf · python-bitcoinlib · breez-sdk-spark