Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A secure reversable crypto currency

Project Description


Bitcoinpy is a Python implementation of Bitcoin to help understand the internals of Bitcoin easy.

Bitcoinpy project is aimed at developers who want to learn about the internal workings of Bitcoin. We created this project so it it is easy to read, understand and modify Bitcoin. Bitcoinpy was developed in Python, so that someone with a little bit of programming ability can read and understand the inner workings of Bitcoin. Lots of helpful documentation is provided to help understand the higher level workings of system and its components. Project is implemented in a very modular fashion, so that if someone wants to change the functionality of a component, they can change or replace that particular component and reuse the rest of the code to test their change without lot of changes. Additional tools like the code for creating genesis block, creating and signing transactions, dumping information from blocks, analyzing the blockchain and other debugging tools have been provided to help developers easily bootstrap and debug new alt coins.

In order to keep the code lightweight we reused the libraries including the Bitcoinlib by Jeff Garzik and others. Code contains all the components including the full bitcoin client, server, wallet and miner. However, some of the components like P2SH, alert messages and more are missing. We will add support for missing functionality, albeit slowly. if you would like to contribute, please feel free to fork the project, hack it and send a pull request. We will gladly accept your changes. Any contributions including documentation are welcome.

How to install on Ubuntu

From source repo:

  • Clone this repository: “git clone ~/reversecoin”
  • Install dependencies: sudo apt-get install python-dev libleveldb1 python-gevent python-leveldb python-bsddb3 python-sqlite
  • After installing dependencies, cd into reversecoin folder and install reversecoin using the command “sudo python install”

From PyPI:

  • Install dependencies: sudo apt-get install python-dev libleveldb1 python-gevent python-leveldb python-bsddb3 python-sqlite
  • Run sudo pip install reversecoin


How to run tests

Reversecoin uses tox and nose for testing. To run tests, simply cd into reversecoin folder and enter the command “tox”. Selective tests can be run using the command “$ tox – tests.api.test_wallet:TestWallet.test_info”. If you want to start reversecoind and reversecoin-miner for manual testing, enter into virtualenv by using “source ~/reversecoin/.tox/py27/bin/activate”, then run the commands “reversecoind” for running the reversecoin daemon and “reversecoin-miner” for mining coins.

Note: You don’t need root access to run the above commands as all the setup takes place in virtualenv.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
reversecoin-0.0.7-py2.py3-none-any.whl (112.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Dec 6, 2014
reversecoin-0.0.7.tar.gz (105.9 kB) Copy SHA256 Checksum SHA256 Source Dec 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting