Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyhy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyhy

bindings for libhydrogen using cffi

  • 0.0.9
  • PyPI
  • Socket score

Maintainers
1

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
pip3 install paho-mqtt # for running the demo

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:

sudo apt-get install python3-dev

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

NOTE: For development you may need to compiled/install libhydrogen with -fPIC flag (add it to CFLAGS at the top of its Makefile).

License

See LICENSE. Same as libhydrogen.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc