bitaps-com
pybtc
Python

Python bitcoin library

Last updated Jun 26, 2026
95
Stars
48
Forks
39
Issues
0
Stars/day
Attention Score
44
Language breakdown
Python 64.0%
C++ 24.7%
C 11.2%
Dockerfile 0.1%
Makefile 0.0%
Shell 0.0%
β–Έ Files click to expand
README

Python bitcoin library

travis build codecov coverage version

Feature Support

  • Basic functions
  • 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

Installation

To install pybtc, simply use pip

$ git clone https://github.com/bitaps-com/pybtc $ cd pybtc $ python3 setup.py install

Dependencies

  • Python 3.3.3+
  • autogen
  • autoconf
  • automake
  • pkg-config
  • gcc
  • pip3

Build on macOS

brew install autogen autoconf automake pkg-config pip3 install --requirement requirements-dev.txt python3 setup.py install

Build on Ubuntu

apt-get -y install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev pip3 install --requirement requirements-dev.txt python3 setup.py install

Documentation

Documentation is available at https://pybtc.readthedocs.io

How to Contribute

In order to make a clone of the GitHub repo: open the link and press the β€œFork” button on the upper-right menu of the web page.

Workflow is pretty straightforward:

  • Clone the GitHub
  • Make a change
  • Make sure all tests passed
  • Add a record into file into change.log.
  • Commit changes to own pybtc clone
  • Make pull request from github page for your clone against master branch

Β© 2026 GitRepoTrend Β· bitaps-com/pybtc Β· Updated daily from GitHub