Skip to main content

A library for interacting and working the Harmony blockchain and related codebases.

Project description

Pyhmy - Harmony's python utilities

This library only supports Python 3.6+

A Python library for interacting and working the Harmony blockchain and related codebases.

Full documentation is located on Harmony's GitBook (in progress).


pip install pyhmy

On MacOS:

Make sure you have Python3 installed, and use python3 to install pyhmy

sudo pip3 install pathlib
sudo pip3 install pyhmy


Clone the repository and then run the following:

make install

Running tests

You need to run a local Harmony blockchain (instructions here) that has staking enabled. You can run all of the tests with the following:

make test

Or directly with pytest (reference here for more info):

py.test tests


You can release this library with the following command (assuming you have the credentials to upload):

make release

TODO: sample of how to use the library, reference Tezos. TODO: start (and finish) some of the documentation. TODO: add more blockchain rpcs TODO: check None return types for rpcs TODO: more detailed tests for rpcs

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyhmy, version 20.5.20
Filename, size File type Python version Upload date Hashes
Filename, size pyhmy-20.5.20-py3-none-any.whl (22.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyhmy-20.5.20.tar.gz (18.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page