Skip to main content

BIP39

This aims to be a simple and well tested BIP39 implementation in Python, which intentionally only supports the core properties of the specification i.e.,:

  • encode data to mnemonic
  • decode mnemonic phrase
  • convert mnemonic phrase to seed value (which than can be further process e.g., in BIP32)

Command line usage

You can also used the basic features on the command line::

$ ./bip39.py encode "00000000000000000000000000000000" 
abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
$ python -m bip39 encode "00000000000000000000000000000000" # or like so
abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
$ ./bip39.py decode "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
00000000000000000000000000000000
$ ./bip39.py toseed "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" "TREZOR"
c55257c360c07c72029aebc1b53c05ed0362ada38ead3e3e9efa3708e53495531f09a6987599d18264c1e1c92f2cf141630c7a3c4ab7c81b2f001698e746

Metadata

Release files for bip39 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bip39 0.0.2
File Size Uploaded Provenance Actions
bip39-0.0.2.tar.gz 29.7 kB Without provenance Details for bip39-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bip39 0.0.2
File Interpreter ABI Platform Actions
bip39-0.0.2-py3-none-any.whl Python 3 none any Details for bip39-0.0.2-py3-none-any.whl

Total release size: 80.3 kB

Release files / bip39-0.0.2.tar.gz

Download URL bip39-0.0.2.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3e13b3e7b54f456d8ea07113b99344d148062da8e707ba40fc42ee13df68a7a2
BLAKE2b-256 checksum
How to use checksums
48b6e65017ce265ebd2f06bd73ce5374842e8a169d3bcec8d0e94e01301bd825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / bip39-0.0.2-py3-none-any.whl

Download URL bip39-0.0.2-py3-none-any.whl
Size 50.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c07de276df96ee3258ceaba5860815f4c749289b5c7c1632cf5f12b3516f0629
BLAKE2b-256 checksum
How to use checksums
df41182dd011be7d9a5498fc909f475b583c162aa771709e3f9aa4feaaa4ffaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for bip39 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page