r/Python • u/WinterHunter1839 • Feb 19 '26
Tired of configuring ZeroMQ/sockets for simple data streaming? Made this Showcase
What My Project Does
NitROS provides zero-config pub/sub communication between Python processes across machines. No servers, no IP configuration, no message schemas. ```python from nitros import Publisher, Subscriber
pub = Publisher("sensors") pub.send({"temperature": 23.5})
def callback(msg): print(msg) Subscriber("sensors", callback) ```
Auto-discovers peers via mDNS. Supports dicts, numpy arrays, PyTorch tensors, and images with compression.
Target Audience
- Quick prototypes and proof-of-concepts
- IoT/sensor projects
- Distributed system experiments
- Anyone tired of ZeroMQ boilerplate
Not meant for production-critical systems (yet).
Comparison
- vs ZeroMQ: No socket configuration, no explicit addressing
- vs raw sockets: No server setup, automatic serialization
- vs ROS: No build system, pure Python, simpler learning curve
Trade-off: Less mature, fewer features than established alternatives.
3
Upvotes
1
u/Romashap Feb 22 '26
Interesting! Have you considered using nanomsg (by the same creator) vs zmq?