Skip to main content

cffi-based Python bindings for nanomsg

Project description

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)
pub.bind('inproc://foo')

sub = nnpy.Socket(nnpy.AF_SP, nnpy.SUB)
sub.connect('inproc://foo')
sub.setsockopt(nnpy.SUB, nnpy.SUB_SUBSCRIBE, '')

pub.send('hello, world')
print(sub.recv())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nnpy-bundle, version 1.4.2.post0
Filename, size File type Python version Upload date Hashes
Filename, size nnpy_bundle-1.4.2.post0-cp35-cp35m-manylinux1_x86_64.whl (165.0 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size nnpy_bundle-1.4.2.post0-cp36-cp36m-manylinux1_x86_64.whl (164.6 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size nnpy_bundle-1.4.2.post0-cp37-cp37m-manylinux1_x86_64.whl (164.6 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size nnpy_bundle-1.4.2.post0-cp38-cp38-manylinux1_x86_64.whl (165.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size nnpy-bundle-1.4.2.post0.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page