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
File details
Details for the file nnpy-bundle-1.4.2.post1.tar.gz
.
File metadata
- Download URL: nnpy-bundle-1.4.2.post1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319cc6115930f12d1abb3bca039743e6ff22fbe892565bbf6ce0c2eb66b04f90 |
|
MD5 | 17e79864794c5a09cacef2a59dd19a52 |
|
BLAKE2b-256 | 98169adb120a225363bc86b97b805bfdfae60ee000f969f97777a416dfef95e4 |
File details
Details for the file nnpy_bundle-1.4.2.post1-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: nnpy_bundle-1.4.2.post1-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 165.9 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3476d9878e7f933579e5c4d4f9ec5280de0fe94bafa85f0d1fde5b02fecb49 |
|
MD5 | ac29dbf661b64ec4a4869876dc5a4b8b |
|
BLAKE2b-256 | 393669d6096e1b880e9008c1e70452428ed35f8797d38dd04f09eb23501be806 |
File details
Details for the file nnpy_bundle-1.4.2.post1-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: nnpy_bundle-1.4.2.post1-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 165.4 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd389507934ddde21453e87939e1ff7898df918c398db548bd5351aebda1d520 |
|
MD5 | 8e1638c633069314bd6ae2e71e34c608 |
|
BLAKE2b-256 | 543798fecee852e819e270a8f4cd016b0f6e6e2df3e742327491747da84e6d89 |
File details
Details for the file nnpy_bundle-1.4.2.post1-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: nnpy_bundle-1.4.2.post1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 165.4 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b49b18d65a027677c5722aa229f81105fab7ebfca38f7232e1fe33451ae6498 |
|
MD5 | 899f841e1199fc040d9d003b880fcf32 |
|
BLAKE2b-256 | b53aba675be15aec8d0b58b5a682d9dce9c9797d0a3dba426fd65a61e03afd9a |
File details
Details for the file nnpy_bundle-1.4.2.post1-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: nnpy_bundle-1.4.2.post1-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 165.8 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83844deb915c1278901c54f19d5e745b917edddba50519a7c0d605f9fb32485 |
|
MD5 | 2e11fbbce7b9cadb81d67ee8a77ed9c3 |
|
BLAKE2b-256 | 424e1d16989b0106bb4714aa207706b4f0953e7b7d61b7b25fa18b28874006e5 |