zerolevel blockchain's api bind.
Project description
zeropy
Blockchain's api bind, python3.5+
Requirements
- racrypt
- crcPy(now part, but it will be changed)
Tests
Default tests:
sh tests.sh
Testing Api:
cd tests
vim node.ini
change ip, port
python3 -m unittest test_client.py
Start
import zeropy
client = zeropy.apiClient()
client.connect('127.0.0.1', 5000)
tmp_key = b'any 64 symbols'
#Blockchain should know with whom he works
client.send_info(tmp_key)
counters = client.get_counters()
print('blocks\n', counters.blocks, 'transactions\n', counters.transactions,
'binary data \n',counters)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zeropy-0.4.0.tar.gz
(8.5 kB
view details)
Built Distribution
zeropy-0.4.0-py3-none-any.whl
(22.3 kB
view details)
File details
Details for the file zeropy-0.4.0.tar.gz
.
File metadata
- Download URL: zeropy-0.4.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
df8c1c02521c03caf985c0d898466140ddcd3f9e452f40b85d2ea5a4b369976a
|
|
MD5 |
04a1ce0a0647efb34b1bafe77add71dc
|
|
BLAKE2b-256 |
4cc468b81f8203dbf3b9db2501514b46d83ba3fa612bab6b9d2475de455e11d8
|
File details
Details for the file zeropy-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: zeropy-0.4.0-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
35cbe63c7680df943d79e344b1067ab5b7502d4449a1650fcf65832524ee62be
|
|
MD5 |
08de65f2b5872ef9364502a5247dfc03
|
|
BLAKE2b-256 |
8e7651a35d83c57bd6130baadd3add5b0ffd1c8d20c2491c1fa32bd63345f68b
|