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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openchain-0.1.0rc3.tar.gz.
File metadata
- Download URL: openchain-0.1.0rc3.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc9141069ee7dde12622a8cc09630ccbc326ac46130c4bdd210db5ae7967d950
|
|
| MD5 |
ce785a30ebe325e825241258a461770a
|
|
| BLAKE2b-256 |
df95c0c439d0889bb88049dd26d304b598caa42955d54c198fa3cfbb0bd3febe
|
File details
Details for the file openchain-0.1.0rc3-py2.py3-none-any.whl.
File metadata
- Download URL: openchain-0.1.0rc3-py2.py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf96c74686993df7781561bf3607b5bd01055dcd8be618cea93c3be5bbce497
|
|
| MD5 |
21e796db1d00ff66b6524769ed80392e
|
|
| BLAKE2b-256 |
06f4fc34fc2e21f290d5847e3454d88fb256cbea8cc54f9e92ea0fbf5fe6d2e1
|