amgi-paho-mqtt
amgi-paho-mqtt is an AMGI compatible server to run AMGI applications against MQTT.
Installation
pip install amgi-paho-mqtt==0.47.0
Example
This example uses AsyncFast:
from dataclasses import dataclass
from amgi_paho_mqtt import run
from asyncfast import AsyncFast
app = AsyncFast()
@dataclass
class Order:
item_ids: list[str]
@app.channel("order-topic")
async def order_topic(order: Order) -> None:
# Makes an order
...
if __name__ == "__main__":
run(app, "order-topic")
Or the application could be run via the commandline:
asyncfast run amgi-paho-mqtt main:app order-topic
Contact
For questions or suggestions, please contact jack.burridge@mail.com.
License
Copyright 2025 AMGI
Metadata
Release files for amgi-paho-mqtt 0.47.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 | |
|---|---|---|---|
| amgi_paho_mqtt-0.47.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amgi_paho_mqtt-0.47.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / amgi_paho_mqtt-0.47.0.tar.gz
| Download URL | amgi_paho_mqtt-0.47.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07da66b0c0a10cab53540f6b0fcbddd27289ee905ffe886e866caa9558a860a1
|
|
BLAKE2b-256 checksum How to use checksums |
dac2482704f23131f3318e9ae9d22d034f680e4b9001c2d61fabeef7ea1dc8f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / amgi_paho_mqtt-0.47.0-py3-none-any.whl
| Download URL | amgi_paho_mqtt-0.47.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3664b32f599ecf8716f8788707996d0af2fc69caf227e14097ca1c5115d156d9
|
|
BLAKE2b-256 checksum How to use checksums |
a8509d6b7c3814bd3cabe2108f9d23efba09e066c063aa04baddde271744ae9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|