A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat
Project description
ZMCat
A simple command line tool to test ZMQ push/pull/pub/sub sockets. Based on https://github.com/lucasdicioccio/zmcat
Installation
pip install zmcat
Usage
zmcat <socket_type> <uri> [--bind] [--key]
socket_type
The type of ZMQ socket you require (pub, sub, push, pull).
uri
The URI to bind/connect to. For example, tcp://127.0.0.1:5555 or ipc:///tmp/mysocket
–bind
Bind to an interface instead of connecting to an existing socket. Relevant only for socket_type push and pull.
–key
The key to use for a pub/sub socket.
Examples
zmcat pub tcp://*:5555 zmcat sub tcp://localhost:5555 zmcat pub tcp://*:5555 --key=mykey zmcat sub tcp://localhost:5555 --key=mykey zmcat push tcp://localhost:5555 zmcat pull tcp://*:5555 --bind zmcat push tcp://*:5555 --bind zmcat pull tcp://localhost:5555
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zmcat-0.0.11.tar.gz
(2.5 kB
view hashes)
Built Distribution
zmcat-0.0.11-py2-none-any.whl
(3.5 kB
view hashes)