Bitcoin Institute

python-bitcoinlib: Comprehensive bitcoin library for python

1 messages BitcoinTalk Jeff Garzik March 8, 2013 — March 8, 2013

GitHub URL: https://github.com/jgarzik/python-bitcoinlib
Repository: git://github.com/jgarzik/python-bitcoinlib.git

The python library for pynode (https://bitcointalk.org/index.php?topic=94645.0) has matured sufficiently to have a home of its own.  The python-bitcoinlib project attempts to present a lightweight, modular, a la carte interface to bitcoin data structures and network protocols.

Features:

  • Easy object interface to all bitcoin core data structures: block, transaction, addresses, …
  • Full transaction script engine
  • Fully verifies main and testnet block chains (via pynode)
  • ECDSA verification (OpenSSL wrapper)
  • Object interface to all known network messages
  • Binary encoding/decoding (serialization) for full bitcoin protocol interoperability
  • Passes many of the tests shipped with the bitcoin reference client (bitcoind/Bitcoin-Qt)

Like pynode, this library is currently a developer-only release, not recommended for highly secure production sites.

Pull requests, comments, questions and donations always welcome.