{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"},{"label":"Communications","url":"https://skillfed.io/packages/category/communications"}],"enrichment":{"capability":"Provides an MQTT client library implementing protocol versions 5.0, 3.1.1, and 3.1 for publishing and subscribing to message topics on an MQTT broker.","skillfed_tags":["mqtt","iot","messaging"],"use_cases":["Build IoT applications that publish sensor readings or receive commands from a central broker.","Implement lightweight remote monitoring where network bandwidth is constrained.","Create publish-subscribe messaging systems for real-time data distribution across devices.","Integrate MQTT communication into Python applications with automatic reconnection handling.","Subscribe to multiple topics and process incoming messages via callbacks."],"what_it_does":"This is the Eclipse Paho MQTT Python client, a library for connecting applications to MQTT brokers to send and receive messages over a lightweight publish-subscribe protocol. It supports MQTT versions 5.0, 3.1.1, and 3.1, making it suitable for IoT and machine-to-machine communication where bandwidth and code footprint matter. The library provides a full Client class for fine-grained control, plus helper functions for simple one-off publish or subscribe operations.\n\nThe client offers multiple network loop modes: a threaded loop (loop_start/loop_stop) for non-blocking operation, a blocking loop (loop_forever) that handles reconnection automatically, and a manual loop for custom event integration. Callbacks allow your application to react to connection, message receipt, and publish acknowledgment events. Known limitations include in-memory-only session storage (sessions are lost on restart) and potential message loss for unacknowledged QoS 1 and QoS 2 messages.","worth_installing":"Yes, with conditions. The package is stable and well-maintained by Eclipse Foundation, with no known vulnerabilities and low install friction. However, the 494-day gap since last release warrants checking whether your use case can tolerate the known limitations: in-memory session storage (no persistence across restarts) and potential QoS 2 message duplication under certain reconnection scenarios. If those constraints are acceptable, it is a solid choice for MQTT connectivity."},"id":"tb-paho-mqtt-client","links":{"html":"https://skillfed.io/packages/tb-paho-mqtt-client","md":"https://skillfed.io/packages/tb-paho-mqtt-client.md","pypi":"https://pypi.org/project/tb-paho-mqtt-client/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-07","license_spdx":null,"license_treatment":"copyleft","name":"tb-paho-mqtt-client","python_support":"supports_current","summary":"MQTT version 5.0/3.1.1 client class"},"popularity":{"monthly_downloads":118441,"position":12118,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.2"}
