Skip to main content

zerolevel blockchain's api bind.

Project description

zeropy

PyPI version Python 3.6 License: GPL v3

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 hashes)

Uploaded Source

Built Distribution

zeropy-0.4.0-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page