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.

Source Distribution

zepl-broker-1.1.0.tar.gz (164.5 kB view details)

Uploaded Source

Built Distribution

zepl_broker-1.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file zepl-broker-1.1.0.tar.gz.

File metadata

  • Download URL: zepl-broker-1.1.0.tar.gz
  • Upload date:
  • Size: 164.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200503 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for zepl-broker-1.1.0.tar.gz
Algorithm Hash digest
SHA256 30af43d2a18d6ed1e7cfea92c0a971cf598b6366fd0be892f9dde4925a4ebfda
MD5 b4b08b982cdef00e6af5d98c740401b0
BLAKE2b-256 c7da12fe47ced527d472df202683785fd1ea219a8acb482cace2e9171bb39a8e

See more details on using hashes here.

File details

Details for the file zepl_broker-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: zepl_broker-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200503 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for zepl_broker-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c26c4526a86955b08c942145ce52c2de2cd3e0571ac604bc1514e4c5bedc934c
MD5 a03b57b9456bcd9cc2943de7bfc94e64
BLAKE2b-256 eb90bb3fddadeea9047bc14292ba2cb17c35fc25b45bceb728542217bd2f9d36

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page