Openchain Library
Project description
About
Library for creating blockchain networks.
Author: Alexander Chaika <manti.by@gmail.com>
Source link: https://bitbucket.org/manti_by/openchain
Requirements:
Base - Python 3.6+, ECSDA, LevelDB/Plyvel
Development - Flake8, Coverage
Examples - Docker, Tornado
Installation
Install system libraries:
$ sudo apt install python3-dev libleveldb-dev
Install package from PyPi:
$ pip install openchain
Alternatively you can clone from Bitbucket:
$ git clone git@bitbucket.org:manti_by/openchain.git $ cd openchain/ $ python setup.py install
Environment variables
DATABASE_PATH - path to store LevelDB files
Run unit tests with coverage
$ mkdir -p /var/lib/openchain/test/ $ export DATABASE_PATH='/var/lib/openchain/test/' $ coverage run -m unittest discover -s openchain/tests/ -p ``'*_tests.py'`` $ coverage xml && coverage report -m
For more information about how to run examples, please refer to README in the examples directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openchain-0.1.0rc3.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for openchain-0.1.0rc3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf96c74686993df7781561bf3607b5bd01055dcd8be618cea93c3be5bbce497 |
|
MD5 | 21e796db1d00ff66b6524769ed80392e |
|
BLAKE2b-256 | 06f4fc34fc2e21f290d5847e3454d88fb256cbea8cc54f9e92ea0fbf5fe6d2e1 |