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 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())

Metadata

Release files for nnpy 1.4.2

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.4.2
File Size Uploaded Provenance Actions
nnpy-1.4.2.tar.gz 6.4 kB Without provenance Details for nnpy-1.4.2.tar.gz

Release files / nnpy-1.4.2.tar.gz

Download URL nnpy-1.4.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
52c1612f116294a7c87a27e49e027f3b55baefc9d279fbbf70e84d315d430ff9
BLAKE2b-256 checksum
How to use checksums
2320490a767ad65f43e42d67766462336b8fee73fc34456ae1d15551f466332c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nnpy 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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