Python CFFI bindings for rs_ctrl_os - distributed ZMQ pub/sub
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 py_ctrl_os-0.6.2-py3-none-any.whl.
File metadata
- Download URL: py_ctrl_os-0.6.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3993631c5d428d6e6b36bf7f214d20039bc99ce4a25fb827c66c3994bd61d296
|
|
| MD5 |
496a91f81e76e5b4db0a4b30f0000a07
|
|
| BLAKE2b-256 |
8880b3630b52cfea2bdc881e4f0df82276a64c2e5a6b70398f2b32fad93f9083
|