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
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
zepl-broker-0.9.4.tar.gz
(164.4 kB
view hashes)
Built Distribution
Close
Hashes for zepl_broker-0.9.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041aeb23b22af86208ac45cf3ab0fc682bbf28192dafd59ce877c1504869d87b |
|
MD5 | 4a4ee2f2286ecd23ff54dfa1b98f409e |
|
BLAKE2b-256 | 2bc25fa0bf63acab9b0d3c8c69b7207a5921d67ee66fb6b17d1c87feefa7a2a9 |