{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"}],"enrichment":{"capability":"An asyncio-native MQTT client that wraps paho-mqtt to provide async/await syntax for publishing and subscribing to MQTT brokers, supporting MQTT versions 5.0, 3.1.1, and 3.1.","skillfed_tags":["mqtt","asyncio","iot"],"use_cases":["Publish sensor readings to an MQTT broker from an asyncio application without blocking other concurrent tasks.","Subscribe to multiple MQTT topics and process incoming messages in an async for loop within a larger async application.","Build IoT gateways or data aggregators that need to handle many concurrent MQTT connections with clean async/await syntax.","Integrate MQTT messaging into async web frameworks or other asyncio-based services.","Replace callback-heavy paho-mqtt code with readable linear async code in new projects."],"what_it_does":"aiomqtt is an asyncio wrapper around paho-mqtt that replaces callback-based MQTT programming with async/await patterns. Instead of registering on_publish, on_subscribe, and on_disconnect callbacks, you write linear async code using context managers and async iteration. It supports MQTT 5.0, 3.1.1, and 3.1, is fully type-hinted, and raises MqttError exceptions instead of returning numeric error codes.\n\nThe package is designed for developers building IoT applications, real-time data pipelines, or other systems that need to publish or subscribe to MQTT topics without blocking. It has been actively maintained since 2017, supports Python 3.8 through 3.13, and carries no known security vulnerabilities. The only gotcha is a Windows-specific event loop configuration requirement documented in the description.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real pain point\u2014callback-based MQTT programming\u2014with a clean async/await API. It is well-suited for any asyncio application that needs MQTT. The Windows event loop caveat is documented and straightforward to work around."},"id":"aiomqtt","links":{"html":"https://skillfed.io/packages/aiomqtt","md":"https://skillfed.io/packages/aiomqtt.md","pypi":"https://pypi.org/project/aiomqtt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-05","license_spdx":null,"license_treatment":"permissive","name":"aiomqtt","python_support":"supports_current","summary":"The idiomatic asyncio MQTT client"},"popularity":{"monthly_downloads":1161075,"position":4284,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.5.1"}
