Getting Started - someburner/pyhy GitHub Wiki

Project setup

To get going, install pyhy with pip3 (recommended in a virtualenv as shown below):

cd myproject
virtualenv env --python=$(which python3)
source env/bin/activate

pip3 install pyhy

Notes on code samples

For the sake of brevity, it is assumed in the rest of the wiki pages that you import the necessary methods, or import all of them as such:

#!/usr/bin/env python3
from pyhy import *
## ^ import everything

## OR..
from pyhy import hydro_sign_keygen, hydro_sign, hydro_equal
## .. and so-on

## OR..
import pyhy
kp = pyhy.hydro_sign_keygen()