A minimalist ZeroMQ pub-sub command line client.
Project description
A minimalist ZeroMQ pub-sub command line client.
Features:
Publish messages to 0 through ∞ subscribers.
Subscribe to all messages or filter by one or more topics.
Exits after receiving a single message or subscribed indefinitely.
Built with scripting in mind.
Installation
$ pip install zepusu
Example
Begin by starting a subscriber in follow mode.
$ zepusu sub -f
Publish a few messages.
$ zepusu pub hello world
$ zepusu pub greetings galaxy
The subscriber outputs both messages.
$ zepusu sub -f
hello world
greetings galaxy
Usage
usage: zepusu [-h] [--version] [-p PORT] {pub,sub} ...
ZeroMQ pub-sub command line client
positional arguments:
{pub,sub}
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-p PORT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zepusu-0.2.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file zepusu-0.2.0.tar.gz
.
File metadata
- Download URL: zepusu-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f41cd731621f32eae9c37778b98e1e7390c1456b0e090c4680b713d645ac940a |
|
MD5 | f5ab442a290e9a1ae1862a133c08574a |
|
BLAKE2b-256 | 677021f7ca377f2ad34f7cb8d4d3e58957937715e1d3205e1be3f718b55a0079 |
File details
Details for the file zepusu-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: zepusu-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d95c7202b43d590cb8962553af0a611b3dba91159890ac33d998ba02a5ccb9 |
|
MD5 | b4e8524af236ba44013e1b2acd3ee99e |
|
BLAKE2b-256 | 06d9c24689caf7e01624c0c52aeee441489e2b16f204da5c983793b581b8ceb1 |