Simple MQTT Client.
Project description
MQTT Client 1.0.1
Simple MQTT Client.
MQTT Client 1.0.1
Usage:
mqtt_client publish --host=<host> --topic=<topic> (--payload=<payload> | --interactive) [--username=<username>] [--password=<password>] [--transport=<transport>] [--cert_path=<cert_path>]
mqtt_client subscribe --host=<host> --topic=<topic> [--username=<username>] [--password=<password>] [--transport=<transport>] [--cert_path=<cert_path>]
mqtt_client (-h|--help)
mqtt_client (-v|--version)
Commands:
publish Publish to topic from MQTT Broker.
subscribe Subscribe to topic from MQTT Broker.
Options:
-h --help Show this screen.
-v --version Show version.
--host=<host> Broker Host. (Example: example.your_broker.com:1883)
--topic=<topic> Topic.
--payload=<payload> Payload to send.
-i --interactive Interactive mode.
--username=<username> Username.
--password=<password> Password.
--transport=<transport> TCP, TCP-TLS, WS, WS-TLS (Default: TCP)
--cert_path=<cert_path> Path cert (Default: ./mqtt_broker_cert.pem)
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
mqtt_client-1.0.1.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for mqtt_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160422ae8a60df3661195cdb47ee4624f1cb37189d9f2a9574dbd554ecb70390 |
|
MD5 | f078d79d43be998371a9270f858b174e |
|
BLAKE2b-256 | 8d35d633736fae1535fa88458007d21171e13fa99d9ec8418cd0bdb97bf11d3d |