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.post0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f18cd0ac5ce870dd19cb30bb348dc36c7a966f2c764d23048d3f5cb57157b4 |
|
MD5 | 72943fbaa4d587cc8653c62edbbce18c |
|
BLAKE2b-256 | 64f60d2881c78399c6f3b886f51a87cbc28d469d2179696a27fd45182c7bbd22 |
Close
Hashes for nnpy_bundle-1.4.2.post0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a0e8ff06f07a6ca99751bff5ccc66b14318a934344943bf3762f90dd68a4b8 |
|
MD5 | fb1ec79498dd67e1a42be3edbff1ebf2 |
|
BLAKE2b-256 | 782ab993bd6956b56a92007df4d087565d255d39771667d3cdb0d029c2cadd9e |
Close
Hashes for nnpy_bundle-1.4.2.post0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60b81a3a293aaca70261413c7e16df1ce27c299ac1812a75b11de39e0a1e956 |
|
MD5 | 397b713329aaf6cfe263068101997451 |
|
BLAKE2b-256 | 0301716dc1b7f5db8f959ee4325f4eceb8fc7cfc03402a4bb5528b0da9a23273 |
Close
Hashes for nnpy_bundle-1.4.2.post0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aff5e11179ba7b544acc28357b8289a152d68c315498d59a9535d2b2529b922 |
|
MD5 | 6243ba26827e3f3060a20068a977d76b |
|
BLAKE2b-256 | 2ce2c64e63611afe17e631378ccd7ef04b02af1d99dda5f194c934b9fb4f1b2a |