{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"gmqtt is an async Python MQTT client that connects to MQTT brokers, publishes and subscribes to topics, and handles message delivery with support for MQTT 5.0 and 3.1.1 protocols.","skillfed_tags":["mqtt","asyncio","iot"],"use_cases":["Build IoT device clients that publish sensor data and subscribe to control commands over MQTT.","Create real-time message brokers or gateways that relay MQTT traffic between multiple topics or brokers.","Implement monitoring dashboards that subscribe to device telemetry and display live updates.","Develop async Python services that need to communicate via MQTT without blocking the event loop.","Test MQTT broker behavior and message flow by scripting client interactions in Python."],"what_it_does":"gmqtt is a pure-Python async MQTT client library built on asyncio for connecting to MQTT brokers and exchanging messages. It implements both MQTT 5.0 (default) and 3.1.1 protocols, with automatic downgrade if a broker does not support version 5.0. The client handles subscriptions, message publishing with configurable QoS levels, authentication, and automatic reconnection with tunable retry behavior.\n\nThe library is callback-driven: you define handlers for connect, message receipt, disconnect, and subscribe events, then await the main connection loop. It supports MQTT 5.0 properties (session expiry, maximum packet size, user properties, content type, message expiry) and allows both synchronous and asynchronous message handlers. No external dependencies are required beyond Python's standard asyncio, making it lightweight and straightforward to integrate into async applications.","worth_installing":"Yes. gmqtt is a solid, actively maintained MQTT client with zero dependencies, permissive licensing, and broad protocol support. Install it if you need async MQTT connectivity in Python and are comfortable with callback-based event handling. The 630 days since last release is not a concern given the active repository and recent commits; the library is stable rather than abandoned."},"id":"gmqtt","links":{"html":"https://skillfed.io/packages/gmqtt","md":"https://skillfed.io/packages/gmqtt.md","pypi":"https://pypi.org/project/gmqtt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-22","license_spdx":null,"license_treatment":"permissive","name":"gmqtt","python_support":"supports_current","summary":"Client for MQTT protocol"},"popularity":{"monthly_downloads":159368,"position":10698,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
