ZMQRuntime
Generic ZeroMQ transport, lifecycle, progress, cancellation, viewer-control, and execution-projection primitives.
Important boundary
ZMQServer and ZMQClient are abstract application integration points.
They cannot be instantiated directly:
- a server implements
handle_control_messageandhandle_data_message; - a client implements
_spawn_server_processandsend_data.
The package does not provide a generic send_request API or define an
application's execution payload. Applications subclass the bases and map their
typed domain requests onto the transport.
Transport configuration
from zmqruntime import TransportMode, ZMQConfig
from zmqruntime.transport import get_zmq_transport_url
config = ZMQConfig(control_port_offset=1000)
data_url = get_zmq_transport_url(
7777,
host="localhost",
mode=TransportMode.TCP,
config=config,
)
Application subclasses can use serve_forever, readiness probes, control
port helpers, progress records, cancellation messages, lifecycle engines, and
projection adapters without duplicating socket or process machinery.
Installation
python -m pip install zmqruntime
Documentation: zmqruntime.readthedocs.io.
For local development, install the documentation dependencies and run a clean, warning-fatal build:
python -m pip install -e ".[dev,docs]"
python -m sphinx -E -W --keep-going -b html docs/source docs/_build/html
Repository: OpenHCSDev/ZMQRuntime.
Metadata
Release files for zmqruntime 0.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zmqruntime-0.2.12.tar.gz | 104.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zmqruntime-0.2.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 185.2 kB
Release files / zmqruntime-0.2.12.tar.gz
| Download URL | zmqruntime-0.2.12.tar.gz |
|---|---|
| Size | 104.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2112c768012ade7638eb166ca7c1d2ff77315ab2cce18a278d1f19740abcaed9
|
|
BLAKE2b-256 checksum How to use checksums |
96cb71c44f845e8895bf5d7ad873c5d0da18ec36e8501e70cd54bb29c13cccd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / zmqruntime-0.2.12-py3-none-any.whl
| Download URL | zmqruntime-0.2.12-py3-none-any.whl |
|---|---|
| Size | 80.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbca3f0ad008b5d97a4ded5de47a9ce42ae2e5227e9b0c4dff6ed181ae8a2681
|
|
BLAKE2b-256 checksum How to use checksums |
6592dd173ca0a907c21d78eab0a54c1bced9393dbb94006ea19daf114aee264d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency log