Pre-release
This release is a pre-release and may not be stable for production use.
Openchain Library
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
Metadata
Release files for openchain 0.1.0rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openchain-0.1.0rc3.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openchain-0.1.0rc3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 32.4 kB
Release files / openchain-0.1.0rc3.tar.gz
| Download URL | openchain-0.1.0rc3.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc9141069ee7dde12622a8cc09630ccbc326ac46130c4bdd210db5ae7967d950
|
|
BLAKE2b-256 checksum How to use checksums |
df95c0c439d0889bb88049dd26d304b598caa42955d54c198fa3cfbb0bd3febe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / openchain-0.1.0rc3-py2.py3-none-any.whl
| Download URL | openchain-0.1.0rc3-py2.py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bbf96c74686993df7781561bf3607b5bd01055dcd8be618cea93c3be5bbce497
|
|
BLAKE2b-256 checksum How to use checksums |
06f4fc34fc2e21f290d5847e3454d88fb256cbea8cc54f9e92ea0fbf5fe6d2e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|