Daniel Van Der Maden
4db7cf7dfe
|
5 years ago | |
---|---|---|
pyhmy | 5 years ago | |
tests | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE.txt | 5 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
pytest.ini | 5 years ago | |
setup.py | 5 years ago |
README.md
Pyhmy - Harmony's python utilities
This library is for python 3 only.
A Python library for interacting and working the Harmony blockchain and related codebases.
Full documentation is located on Harmony's GitBook (in progress).
Installation
pip install pyhmy
Development
Clone the repository and then run the following:
make install
(Optional) Copy over the CLI binary into <pyhmy_repo_directory>/bin/
. Reference
here
for more details on the Harmony CLI.
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
Or directly with pytest
(reference here for more info):
py.test tests
Releasing
You can release this library with the following command (assuming you have the credentials to upload):
make release
TODO: Rework the benchmark, do the reformatting first before tieing everything together and debugging.
TODO: For benchmark, make sure to include documentation that one has to update the pip install pyhmy==20.1.0
version!
TODO: sample of how to use the library, reference Tezos.
TODO: start (and finish) some of the documentation.