py3-aiomqtt-2.5.0
async MQTT Python client library
Back to search · Project homepage
Description
aiomqtt is an idiomatic asyncio MQTT client for Python. It supports MQTT
versions 3.1, 3.1.1 and 5.0 via paho-mqtt, handles disconnection gracefully,
is fully type-hinted, and client code is simple (callbacks are not needed):
Publish:
async with Client("test.mosquitto.org") as client:
await client.publish("temperature/outside", payload=28.4)
Subscribe:
async with Client("test.mosquitto.org") as client:
await client.subscribe("temperature/#")
async for message in client.messages:
print(message.payload)
Package information
- Ports path
- net/py-aiomqtt
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- net, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.