Simple MQTT Client.
Project description
MQTT Client 1.0.2
Simple MQTT Client.
MQTT Client 1.0.2
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.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for mqtt_client-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bfacddc2838f6a45fb14687635ba82f5da04cf584a0bf42da1cf9ff2b0be954 |
|
MD5 | 885c569714e95b43b725525df7d947af |
|
BLAKE2b-256 | b63739d364bd202109be612c147ba0d0917c5cd7df2d182ee0c607d1f244d8fc |