Skip to main content

py-ctrl-os

Python CFFI bindings for rs_ctrl_os — a distributed ZMQ pub/sub runtime.

Install

pip install py-ctrl-os

On first import, the library auto-downloads librs_ctrl_os.so from GitHub releases.

Quick Start

from py_ctrl_os import PubSubManager, load_config

static, dynamic = load_config("config.toml")
bus = PubSubManager(static)

# Publish JSON
bus.publish_json("my_node", "status", {"hello": "world"})

# Receive
result = bus.try_recv_json("from_other_node")
if result:
    sender, topic, data = result
    print(f"From {sender}: {data}")

Requirements

  • Python 3.10+
  • Linux x86_64 or aarch64
  • libzmq (system library, usually pre-installed)

License

MIT

Metadata

Release files for py-ctrl-os 0.6.4

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

Built distribution (wheel)

Table of built distributions (wheels) for py-ctrl-os 0.6.4
File Interpreter ABI Platform Actions
py_ctrl_os-0.6.4-py3-none-any.whl Python 3 none any Details for py_ctrl_os-0.6.4-py3-none-any.whl

Release files / py_ctrl_os-0.6.4-py3-none-any.whl

Download URL py_ctrl_os-0.6.4-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97b02624e28020394f27af281f1bd75c3ef3171ab38e25cd789e6c5f10dd2d74
BLAKE2b-256 checksum
How to use checksums
a5b462df09b42375a84b60d24a819a34dab1795df14e3c2e2f473bbbddc63304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for py-ctrl-os 0.6.4

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