litestar-mqtt
Litestar-mqtt is porting of Fastapi-mqtt for the Litestar framework.
For more information about MQTT, please refer to the Fastapi-mqtt MQTT documentation.
As Fastapi-mqtt, Litestar-mqtt wraps around gmqtt module.
Features:
Litestar-mqtt implements the same feature of Fastapi-mqtt and also:
- Load configurations via
.envfile
MQTT_HOST="mqtt-dashboard.com"
Installation:
$ pip install litestar-mqtt
or
$ poetry add litestar-mqtt
Differences:
Litestar-mqtt must be hooked to the on_startup and on_shutdown handlers.
app = Litestar(
route_handlers=[test_func],
on_startup=[lite_mqtt.startup],
on_shutdown=[lite_mqtt.shutdown],
)
Metadata
Release files for litestar-mqtt 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| litestar_mqtt-1.0.0.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| litestar_mqtt-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / litestar_mqtt-1.0.0.tar.gz
| Download URL | litestar_mqtt-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
865a5e0badd12a755e708bbb5c8382bda22aca1bbffe8be8bd5f31278492533a
|
|
BLAKE2b-256 checksum How to use checksums |
61412e0e590021e38b23d785f531718c981c65e4de4f79b35f07de619ff7d799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Windows/10
|
Release files / litestar_mqtt-1.0.0-py3-none-any.whl
| Download URL | litestar_mqtt-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d715e768278814a21c6b197563acb62f385d6c513729a9ad2b5fac492e812ecc
|
|
BLAKE2b-256 checksum How to use checksums |
c6dbfd77490ef75e6cf2928f9cf57a1caf3a1c1ae5b581899836010b0ccf57a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Windows/10
|
Security for litestar-mqtt 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.