py-bip39-bindings
Python bindings for tiny-bip39 RUST crate
What it is and what it does
py-bip39-bindings wraps the tiny-bip39 Rust crate to provide fast, cryptographically sound BIP39 mnemonic operations in Python. It lets you generate random mnemonics, validate existing ones, and derive cryptographic seeds from them—all core operations for cryptocurrency wallet software and key management. The package supports multiple languages including 'en', 'zh-hans', 'zh-hant', 'fr', 'it', 'jap', 'ko', 'es' and defaults to English.
The bindings are compiled to native wheels for Python 3.9–3.13 on Linux, macOS, and Windows, so installation is straightforward on common platforms. There are no Python runtime dependencies; the package is a thin interface to the underlying Rust implementation. It's maintained actively and carries no known security vulnerabilities.
Use it for:
- Generate and validate BIP39 mnemonics for cryptocurrency wallet creation and recovery
- Derive cryptographic seeds from mnemonics for key derivation in blockchain applications
- Build multilingual wallet interfaces that generate mnemonics in supported languages
- Integrate BIP39 operations into Polkadot/Kusama ecosystem tools and reference implementations
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to the tiny-bip39 Rust library for generating, validating, and converting BIP39 mnemonics to cryptographic seeds, with support for multiple languages.
Yes, if you need BIP39 mnemonic operations in a Python application. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and provides pre-built wheels for modern Python versions. Medium install friction is typical for compiled bindings and poses no practical barrier. Not necessary if you only need pure-Python implementations or have no cryptographic use case.
Install
py-bip39-bindings on PyPI
pip
pip install py-bip39-bindingsuv
uv add py-bip39-bindingspoetry
poetry add py-bip39-bindingsInstalling py-bip39-bindings
Before you install
Medium install friction due to compiled Rust bindings, but wheels are pre-built for Python 3.9–3.13 across Linux (manylinux, musl), macOS, and Windows. Repository is actively maintained with a recent release.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install py-bip39-bindings
from bip39 import bip39_generate, bip39_validate, bip39_to_mini_secret
import binascii
mnemonic = bip39_generate(12)
bip39_validate(mnemonic)
seed_array = bip39_to_mini_secret(mnemonic, "")
seed_hex = binascii.hexlify(bytearray(seed_array)).decode("ascii")
Verify before relying
- Whether the package is actively used in production systems or primarily for reference/testing
- Performance characteristics compared to pure-Python BIP39 implementations
- Stability guarantees or semantic versioning policy for the 0.3.0 release
- Support for mnemonic word counts beyond 12 words
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 345 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 267,373/month — #8,293 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: py_bip39_bindings-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; py_bip39_bindings-0.3.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; py_bip39_bindings-0.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; py_bip39_bindings-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; py_bip39_bindings-0.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; py_bip39_bindings-0.3.0-cp310-cp310-musllinux_1_2_aarch64.whl; py_bip39_bindings-0.3.0-cp310-cp310-musllinux_1_2_armv7l.whl; py_bip39_bindings-0.3.0-cp310-cp310-musllinux_1_2_i686.whl; py_bip39_bindings-0.3.0-cp310-cp310-musllinux_1_2_x86_64.whl; py_bip39_bindings-0.3.0-cp310-cp310-win32.whl; py_bip39_bindings-0.3.0-cp310-cp310-win_amd64.whl; py_bip39_bindings-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl; py_bip39_bindings-0.3.0-cp311-cp311-macosx_11_0_arm64.whl; py_bip39_bindings-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; py_bip39_bindings-0.3.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; py_bip39_bindings-0.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; py_bip39_bindings-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; py_bip39_bindings-0.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; py_bip39_bindings-0.3.0-cp311-cp311-musllinux_1_2_aarch64.whl; py_bip39_bindings-0.3.0-cp311-cp311-musllinux_1_2_armv7l.whl
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
py-sr25519-bindingsProvides Python bindings to the sr25519 Rust…
permissive · top 15,000 on PyPI
bip-utilsGenerates mnemonics, seeds, private/public…
permissive · top 15,000 on PyPI
py-ed25519-zebra-bindingsProvides Python bindings to the ed25519-zebra…
permissive · top 15,000 on PyPI
mnemonicGenerates mnemonic word sequences and converts…
permissive · top 5,000 on PyPI
chia-rsProvides Python bindings to Rust crates for…
unclear · top 15,000 on PyPI
bip32Implements BIP 32 hierarchical deterministic…
permissive · top 15,000 on PyPI
bittensor-walletManages cryptographic keys and wallets for the…
permissive · top 15,000 on PyPI
keysymdefProvides X11 and XF86 keysym definitions as…
unclear · top 15,000 on PyPI
smoldot-lightPython bindings for the smoldot_light Rust…
unclear · top 15,000 on PyPI
hdwalletGenerates hierarchical deterministic (HD)…
permissive · top 15,000 on PyPI