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.
|
|
|
# Pyhmy - Harmony's python utilities
|
|
|
|
|
|
|
|
**This library is for python3 only.**
|
|
|
|
|
|
|
|
[Full documentation is located on Harmony's GitBook](https://harmony.one/) (in progress).
|
|
|
|
|
|
|
|
A Python library for interacting and working the [Harmony blockchain](https://harmony.one/)
|
|
|
|
and [related codebases](https://github.com/harmony-one).
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
|
|
pip install pyhmy
|
|
|
|
```
|
|
|
|
|
|
|
|
## Development
|
|
|
|
Clone the repository and then run the following to install the dependencies:
|
|
|
|
```bash
|
|
|
|
python3 -m pip install requests
|
|
|
|
python3 -m pip install pexpect
|
|
|
|
```
|
|
|
|
(Optional) Copy over the CLI binary into `<pyhmy_project_dir>/bin/`. Reference
|
|
|
|
[here](https://app.gitbook.com/@harmony-one/s/home/command-line-interface/using-the-harmony-cli-tool)
|
|
|
|
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
|
|
|
|
|
|
|
|
TODO testing flow using pytest
|
|
|
|
|
|
|
|
## Releasing
|
|
|
|
|
|
|
|
TODO Automated release flow with proper versioning.
|