A Python library for interacting and working with the Woop blockchain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Van Der Maden 7d28dd3f6f [cli] Update examples in documentation 5 years ago
pyhmy [cli] Update examples in documentation 5 years ago
tests [util] Add kwargs to `json_loads` and add test 5 years ago
Makefile [makefile] remove pytest cache file on clean 5 years ago
README.md [readme] Update readme 5 years ago
pytest.ini [test] Add pytest skeleton + basic tests 5 years ago
setup.py [setup] Add `incremental` versioning 5 years ago

README.md

Pyhmy - Harmony's python utilities

This library is for python 3 only.

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

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

Installation

pip install pyhmy

Development

Clone the repository and then run the following:

make install

(Optional) Copy over the CLI binary into <pyhmy_project_dir>/bin/. Reference here for more details on the Harmony CLI. Note that this library comes with a function (under the pyhmy.utils) to download the statically linked CLI for Linux and MacOS.

Running tests

You can run all of the tests with the following:

make test

Releasing

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

make release