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.5+, 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 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 and coverage
$ mkdir -p /var/tmp/leveldb/test/
$ export DATABASE_PATH=’/var/tmp/leveldb/test/’
$ python -m unittest discover -s openchain/tests/ -p '*_tests.py'
$ 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 <https://bitbucket.org/manti_by/openchain/src/8013112f6f63022d684350acf5d687aa20d5bd9b/examples/?at=master>`_ 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
Built Distribution
Hashes for openchain-0.1.0rc2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e320b8cce52cdb3bf1e84fa39bf680e3ab03d738296ffc506d5f929dda16f2f4 |
|
MD5 | 445c39ea8bdc7d57ede5fc611523b2ee |
|
BLAKE2b-256 | fe429f0f24fd5db9e3437995422aeae194bd57037ec1ff453e65b24a28c04093 |