CLI for Paho MQTT
Project description
mqtt-cli
A command-line tool for publishing and subscribing to mqtt.
Use cases:
- Trials
- As part of a bash pipeline
Installation
pip install mqtt-cli
Usage
$ mqtt --help
usage: mqtt [-h] [--host HOST] [--port PORT] [--transport {tcp,websockets}] [--clientid CLIENTID] [--user USER] [--password PASSWORD] [--protocol {3,4,5}] [--path PATH] [--tls] [--clean-start] [--log-level LOG_LEVEL]
{publish,subscribe} ...
MQTT command-line client application
positional arguments:
{publish,subscribe}
options:
-h, --help show this help message and exit
--host HOST
--port PORT
--transport {tcp,websockets}
--clientid CLIENTID
--user USER
--password PASSWORD
--protocol {3,4,5}
--path PATH
--tls
--clean-start
--log-level LOG_LEVEL
$ mqtt publish --help
usage: mqtt publish [-h] [--qos {0,1,2}] [-t TOPIC] [-m MESSAGE] [--line LINE] [--retain] [--queue QUEUE]
options:
-h, --help show this help message and exit
--qos {0,1,2}
-t TOPIC, --topic TOPIC
-m MESSAGE, --message MESSAGE
--line LINE
--retain
--queue QUEUE
$ mqtt subscribe --help
usage: mqtt subscribe [-h] [--qos {0,1,2}] -t TOPIC [--line LINE] [--json]
options:
-h, --help show this help message and exit
--qos {0,1,2}
-t TOPIC, --topic TOPIC
--line LINE
--json
TBC
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mqtt_cli-0.4.2.tar.gz.
File metadata
- Download URL: mqtt_cli-0.4.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4326dd65f5f6e6ecf9c8a92ed5b3a0fa1cb40b8136f6cbabecf48158d20f797
|
|
| MD5 |
53d03a73dd6c11e67d591797d476bfea
|
|
| BLAKE2b-256 |
3da1ec6e032905b284867a1ac144bc7b9792188afa8a48b9e08849a697508f4c
|
Provenance
The following attestation bundles were made for mqtt_cli-0.4.2.tar.gz:
Publisher:
release.yml on RISE-Maritime/mqtt-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mqtt_cli-0.4.2.tar.gz -
Subject digest:
c4326dd65f5f6e6ecf9c8a92ed5b3a0fa1cb40b8136f6cbabecf48158d20f797 - Sigstore transparency entry: 206904138
- Sigstore integration time:
-
Permalink:
RISE-Maritime/mqtt-cli@55f9572a705471f9aa9f32f15b579f7f6472370d -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/RISE-Maritime
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55f9572a705471f9aa9f32f15b579f7f6472370d -
Trigger Event:
release
-
Statement type:
File details
Details for the file mqtt_cli-0.4.2-py3-none-any.whl.
File metadata
- Download URL: mqtt_cli-0.4.2-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b005c57bb8eb6063b96e501f57d077970094e6f55e36b4070efe588a28eb56
|
|
| MD5 |
a28005a63a1ce7874f2a17211380ef49
|
|
| BLAKE2b-256 |
9bdce18c6229df9dbbf5311e585252e706824be9387127278c68f914073032ad
|
Provenance
The following attestation bundles were made for mqtt_cli-0.4.2-py3-none-any.whl:
Publisher:
release.yml on RISE-Maritime/mqtt-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mqtt_cli-0.4.2-py3-none-any.whl -
Subject digest:
e1b005c57bb8eb6063b96e501f57d077970094e6f55e36b4070efe588a28eb56 - Sigstore transparency entry: 206904141
- Sigstore integration time:
-
Permalink:
RISE-Maritime/mqtt-cli@55f9572a705471f9aa9f32f15b579f7f6472370d -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/RISE-Maritime
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55f9572a705471f9aa9f32f15b579f7f6472370d -
Trigger Event:
release
-
Statement type: