Skip to main content

nnpy: cffi-based Python bindings for nanomsg

Is what it says on the tin. Stay tuned for more. Dependencies:

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nnpy 1.1
File Size Uploaded
nnpy-1.1.tar.gz 3.9 kB Details

Release files / nnpy-1.1.tar.gz

Download URL nnpy-1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb5358aaa0ae22861b60122e31dae323237e76e1a6c5287efc747a7d813e534d
BLAKE2b-256 checksum
How to use checksums
9441ed89321f80e0373b58060cac41bf17cb16fd197167ecde104eb42ea2a867
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.4.2

1 release file

1.4.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

This release

1.1 This release

1 release file

1.0

1 release file

0.9.1

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page