cffi-based Python bindings for nanomsg
Project description
Is what it says on the tin. Stay tuned for more. Dependencies:
Python 2.7 or 3.4
cffi (http://cffi.readthedocs.org/en/latest/) and its dependencies
nanomsg (tested with 1.0)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for nnpy_bundle-1.4.2.post1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3476d9878e7f933579e5c4d4f9ec5280de0fe94bafa85f0d1fde5b02fecb49 |
|
MD5 | ac29dbf661b64ec4a4869876dc5a4b8b |
|
BLAKE2b-256 | 393669d6096e1b880e9008c1e70452428ed35f8797d38dd04f09eb23501be806 |
Close
Hashes for nnpy_bundle-1.4.2.post1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd389507934ddde21453e87939e1ff7898df918c398db548bd5351aebda1d520 |
|
MD5 | 8e1638c633069314bd6ae2e71e34c608 |
|
BLAKE2b-256 | 543798fecee852e819e270a8f4cd016b0f6e6e2df3e742327491747da84e6d89 |
Close
Hashes for nnpy_bundle-1.4.2.post1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b49b18d65a027677c5722aa229f81105fab7ebfca38f7232e1fe33451ae6498 |
|
MD5 | 899f841e1199fc040d9d003b880fcf32 |
|
BLAKE2b-256 | b53aba675be15aec8d0b58b5a682d9dce9c9797d0a3dba426fd65a61e03afd9a |
Close
Hashes for nnpy_bundle-1.4.2.post1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83844deb915c1278901c54f19d5e745b917edddba50519a7c0d605f9fb32485 |
|
MD5 | 2e11fbbce7b9cadb81d67ee8a77ed9c3 |
|
BLAKE2b-256 | 424e1d16989b0106bb4714aa207706b4f0953e7b7d61b7b25fa18b28874006e5 |