nnpy: cffi-based Python bindings for nanomsg
Is what it says on the tin. Stay tuned for more. Dependencies:
Python 2.7 or 3.3
cffi (http://cffi.readthedocs.org/en/latest/) and its dependencies
nanomsg (tested with 0.2)
How to install
The usual should work:
$ sudo pip install .
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())
Metadata
Release files for nnpy 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nnpy-0.9.1.tar.gz | 3.7 kB | Details |
Release files / nnpy-0.9.1.tar.gz
| Download URL | nnpy-0.9.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
064ca9733a2e15cc5a87f89f995b54dbaaf571d30eefe3b90495271cb97d0b25
|
|
BLAKE2b-256 checksum How to use checksums |
bd7bff69cc1ce5e28ed7d586921d0dab84a86f93742901c3351282aac3d658da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |