# eclipse-paho/paho.mqtt.python

paho.mqtt.python

Repository: https://github.com/eclipse-paho/paho.mqtt.python
Canonical: https://ross.abutalabs.com/products/pahomqttpython
Language: Python
License: NOASSERTION
License Family: other
Topics: eclipseiot, mqtt, internet-of-things
Last push: 2026-08-25T19:22:09+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3913, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2421, forks 740 (observed 2026-08-28T04:06:50.589572+00:00)

## What it is
The Eclipse Paho MQTT Python client library implementing MQTT protocol versions 5.0, 3.1.1, and 3.1. It enables Python applications to connect to MQTT brokers to publish messages and subscribe to topics.

## Use cases
- connect python app to mqtt broker
- publish messages to mqtt topics
- subscribe to mqtt topics with callbacks
- build iot device communication in python
- lightweight pub/sub messaging for embedded sensors
- one-off publish to mqtt server

## When to choose
- you need MQTT v5, 3.1.1, or 3.1 support in Python
- you want a mature, Eclipse Foundation-backed MQTT client
- you need publish/subscribe messaging with low bandwidth overhead
- you want helper functions for simple one-off publishing

## When to avoid
- you need persistent client sessions across program restarts (sessions are memory-only)
- you need a full message broker rather than a client
- you're on Python older than 3.9
- you need Kafka-style or AMQP messaging instead of MQTT

## Facets
- artifact type: library
- maturity: active
- function: message-queue, networking, sdk
- domain: iot, developer-tools
- platform: python, cross-platform
- tags: mqtt, mqtt-client, pub-sub, mqtt-v5, eclipse-paho, iot-connectivity, messaging

## Member repositories
- eclipse-paho/paho.mqtt.python (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.589572+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:03.110324+00:00, confidence not recorded.
  - readme: https://github.com/eclipse-paho/paho.mqtt.python (fetched 2026-08-28T04:06:50.589572+00:00, sha b1ae88dd1f71)
- Data as of 2026-08-30T08:39:29.467469+00:00.
