From Bitcoin Wiki
Jump to: navigation, search

Python library for Bitcoin

Key Features:

  • Supports addresses types PUBKEY, P2PKH, P2SH, P2SH-PWPKH, P2WPKH, P2WSH.
  • Supports BIP32(Hierarchical Deterministic Wallets), BIP39(Mnemonic code generation)
  • Supports BIP141(Segregated Witness)
  • Transaction constructor
  • Mining pool basic primitives

This software is Open Source.


Documentation can be found here, or in the source archive. It is built using Sphinx:


Source code can be found here:


The library can also be found in the Python package repository

This means that it can be installed using pip install pybtc.

Project status

According to the PyPI page, pybtc is not actively maintained. The page suggests using github instead, which offers far more features.