Skip to main content

A minimalist ZeroMQ pub-sub command line client.

Project description

Version CI

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.

Files for zepusu, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size zepusu-0.2.0-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size zepusu-0.2.0.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page