skip to navigation
skip to content

nnpy 1.4.1

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 .

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')
File Type Py Version Uploaded on Size
nnpy-1.4.1.tar.gz (md5) Source 2017-05-31 6KB