cffi-based Python bindings for nanomsg
Clone or download
Latest commit d8f260a Feb 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
nnpy Fix tests under python3. Jun 3, 2017
.gitignore Add .coverage to .gitignore Sep 24, 2016
LICENSE Remove irrelevant trademark notice. Aug 21, 2013 Include script in distribution (fixes #11) Sep 24, 2015
README.rst improve install section Nov 23, 2017 Fix python3 build Nov 17, 2016 Bump version to 1.4.2 Feb 9, 2018


nnpy: cffi-based Python bindings for nanomsg

Is what it says on the tin. Stay tuned for more. Dependencies:

How to install

The usual should work:

$ sudo pip install nnpy

Getting started

import nnpy

pub = nnpy.Socket(nnpy.AF_SP, nnpy.PUB)

sub = nnpy.Socket(nnpy.AF_SP, nnpy.SUB)
sub.setsockopt(nnpy.SUB, nnpy.SUB_SUBSCRIBE, '')

pub.send('hello, world')

Related Projects