python bindings for libhydrogen
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
pyhy
.gitignore
LICENSE
MANIFEST.in
README.md
bind.py
clean.sh
pyhy.h
requirements.txt
setup.py
test.py

README.md

pyhy

Python bindings for libhydrogen.

Install

Requires libhydrogen to be installed on system. Testing/development has been done on linux, specifically Ubuntu 18.04. Additional work may be required for other platforms/distros.

pip3 install pyhy

Usage

  • An end-to-end example for kx (N, KK, XX) is provided using paho-mqtt. See demo for instructions.
  • The wiki contains a few usage examples.
  • tests.py is fairly self-describing. Just copy that somewhere, run it, and hack away.

Bindings

This project uses cffi docs/bitbucket. If you experience low-level issues you may want to look there for help.

Ensuring latest version:

pip3 uninstall pyhy
pip3 install pyhy --no-cache

To generate bindings yourself:

virtualenv env --python=$(which python3)
source env/bin/activate
pip3 install cffi

git clone https://github.com/someburner/pyhy
cd pyhy
./bind.py
./test.py

License

See LICENSE. Same as libhydrogen.