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 1.0
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-1.0.tar.gz | 3.8 kB | Details |
Release files / nnpy-1.0.tar.gz
| Download URL | nnpy-1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67c015d12f4a113bb1c29134d27b7b5a3e7ce512abd7529b93a303e67d64659f
|
|
BLAKE2b-256 checksum How to use checksums |
e965ccf6ba6bc36ab4b75a1edef2061ea297d6aaae1908e20de8f59d095a8a3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |