Skip to main content

gevent-zeromq

This library wraps pyzmq to make it compatible with gevent. ØMQ socket operations that would normally block the current thread will only block the current greenlet instead.

Requirements

  • pyzmq==2.2.0

  • gevent (compatible with 1.0 pre-releases as well)

Usage

Instead of importing zmq directly, do so in the following manner:

from gevent_zeromq import zmq

Any calls that would have blocked the current thread will now only block the current green thread.

About

This compatibility is accomplished by ensuring the nonblocking flag is set before any blocking operation and the ØMQ file descriptor is polled internally to trigger needed events.

Will build with cython if available, decreasing overhead.

License

See LICENSE (New BSD)

Metadata

Release files for gevent_zeromq 0.2.5

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

Source distribution (sdist)

Source distribution for gevent_zeromq 0.2.5
File Size Uploaded Provenance Actions
gevent_zeromq-0.2.5.tar.gz 5.9 kB Without provenance Details for gevent_zeromq-0.2.5.tar.gz

Release files / gevent_zeromq-0.2.5.tar.gz

Download URL gevent_zeromq-0.2.5.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c479568e8fbc92260e06d2f9042c9888d1d42e90ef52673a65288f19394f669
BLAKE2b-256 checksum
How to use checksums
c29063ea1977d53d64fc4c3432cb3b010983068c30a344243814e63451b12e18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gevent_zeromq 0.2.5

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