# The net/py-aiomqtt port

## py3-aiomqtt-2.5.0 – async MQTT Python client library

## 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)

WWW: https://aiomqtt.bo3hm.com/

Only for arches
  aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
  lang/python net

## Library dependencies

## Build dependencies

- devel/py-build
- devel/py-hatchling
- devel/py-installer
- lang/python/3

## Run dependencies

- lang/python/3
- net/py-paho-mqtt