Skip to main content

A python binding for Bitcoin Json-RPC API

Project description


Heavily based on python-bitcoinrpc and Savoir but replacing the httplib with requests.


git clone


After cloning this repository, run:

python develop

Use the Bitcoin API documentacion and make calls to the wrapper.

Remember to replace the RPC variables with your Bitcoin node access credentials.

from bitcoincli import Bitcoin

host = ""
port = "80"
username = "user-name"
password = "pass-word-pass-word-pass-word"

bitcoin = Bitcoin(username, password, host, port)

info = bitcoin.getblockchaininfo()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bitcoincli, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size bitcoincli-1.0.0-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size bitcoincli-1.0.0.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page