Skip to main content

Zepl Broker

Project description

Zepl Broker

install:

pip install zepl-broker

quick test

issue all commands in the same terminal!

start the broker, log listener and dummy in the background

$ zepl-broker &
-- Starting Zepl Broker --

$ zepl-client log &
-- Starting Zepl Client --

$ zepl-client -d --config dummy.json ctrl add &
-- Starting Zepl Client --
ZeplDevice initialized.
Added dummy1: :  [b'success']

say hello!

$ zepl-client -d dev greet dummy1
-- Starting Zepl Client --
greeting dummy1 runner -- :  [b'why hello there!']
greeting dummy1 device -- :  [b'not sure if...']
b'dummy1' -- b'DUMMY_DEV_RAW_OUT' --  b'why hello there!'

kill them all

$ kill $(jobs -p)
[1]   Terminated              zepl-broker
[2]-  Terminated              zepl-client log
[3]+  Terminated              zepl-client -d --config dummy.json ctrl add

for more see: examples and doc

caveat

at this moment the command line tool is very picky about the arguments

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 zepl-broker, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size zepl_broker-1.0.0-py3-none-any.whl (18.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size zepl-broker-1.0.0.tar.gz (164.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page