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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zmqruntime-0.1.16.tar.gz.
File metadata
- Download URL: zmqruntime-0.1.16.tar.gz
- Upload date:
- Size: 75.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b88a94b1b89e5864dcc3a1a503ffb3210e8aa92eb6ab61bd648e8365573b547e
|
|
| MD5 |
677fb335041ca062263417500232f70d
|
|
| BLAKE2b-256 |
056fbddedfe094c7a0ad224fc16e44aeafbb5418a5d77270f8e75f25c6e7e01c
|
Provenance
The following attestation bundles were made for zmqruntime-0.1.16.tar.gz:
Publisher:
publish.yml on OpenHCSDev/ZMQRuntime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zmqruntime-0.1.16.tar.gz -
Subject digest:
b88a94b1b89e5864dcc3a1a503ffb3210e8aa92eb6ab61bd648e8365573b547e - Sigstore transparency entry: 2277944159
- Sigstore integration time:
-
Permalink:
OpenHCSDev/ZMQRuntime@cfd3ddc0aa90f59080ad53eaec545ed11170c4b9 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/OpenHCSDev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cfd3ddc0aa90f59080ad53eaec545ed11170c4b9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file zmqruntime-0.1.16-py3-none-any.whl.
File metadata
- Download URL: zmqruntime-0.1.16-py3-none-any.whl
- Upload date:
- Size: 61.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88aa23b87bcc8c82554a45ffee997f5fa624a8a78384a8161b6c21d17de8fa24
|
|
| MD5 |
65a18e8df307183af0ddb87137b46f22
|
|
| BLAKE2b-256 |
375a2dca463e49a349a1f22c6c8aa66af5f02c3cd3dbfaa0de004a93efd54395
|
Provenance
The following attestation bundles were made for zmqruntime-0.1.16-py3-none-any.whl:
Publisher:
publish.yml on OpenHCSDev/ZMQRuntime
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zmqruntime-0.1.16-py3-none-any.whl -
Subject digest:
88aa23b87bcc8c82554a45ffee997f5fa624a8a78384a8161b6c21d17de8fa24 - Sigstore transparency entry: 2277944204
- Sigstore integration time:
-
Permalink:
OpenHCSDev/ZMQRuntime@cfd3ddc0aa90f59080ad53eaec545ed11170c4b9 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/OpenHCSDev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cfd3ddc0aa90f59080ad53eaec545ed11170c4b9 -
Trigger Event:
push
-
Statement type: