$npx skillfedfor your agent

types-paho-mqtt

Typing stubs for paho-mqtt

With conditionsPyPI Software DevelopmentReleased Mar 2024135.3K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_paho_mqtt-1.6.0.20240321-py3-none-any.whl
v1.6.0.20240321 · released 2024-03-21 · Python >=3.8

Yes, if you use paho-mqtt 1.6.* and want static type checking. Install friction is negligible, maintenance is active, and the Apache-2.0 license poses no restrictions. Do not install if you are already on paho-mqtt 2.0.0 or later, as those versions include built-in type annotations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires paho-mqtt 1.6.* to be installed separately; paho-mqtt 2.0.0+ includes its own type stubs and makes this package redundant.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Actively maintained via typeshed with recent updates.

License · maintenance · safety

Apache-2.0 license (permissive) — Apache-2.0 permissive license allows use in most projects with minimal restrictions.

last release 2024-03-21 (876 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,318 downloads/mo, #11,441 on PyPI

Verify before relying

pip install types-paho-mqtt

# In your code using paho-mqtt, type checkers will now understand the types
import paho.mqtt.client as mqtt
client: mqtt.Client = mqtt.Client()
  • Whether type coverage is complete for all paho-mqtt 1.6.* APIs and edge cases.
  • Compatibility with paho-mqtt 1.6.x patch versions beyond the latest tested release.
Same gist for agents: .md · .json

What it is and what it does

This package provides PEP 561 type stubs for the paho-mqtt MQTT client library, version 1.6.*. Type stubs are metadata files that tell static type checkers like mypy and pyright what types to expect from paho-mqtt's functions and classes, enabling type-safe code development without requiring the library itself to include annotations.

The stubs are maintained in the Python typeshed repository and tested against multiple type checkers. If you are using paho-mqtt 1.6.x and want static type checking support, install this package alongside paho-mqtt. Note that paho-mqtt 2.0.0 and later versions include their own type annotations, making this stub package unnecessary for newer releases.

Use it for

  • Enable mypy or pyright to type-check code that imports and uses paho-mqtt 1.6.x.
  • Catch type errors in MQTT client setup and message handling before runtime.
  • Provide IDE autocomplete and type hints for paho-mqtt APIs in editors like PyCharm.
  • Maintain type safety in projects locked to paho-mqtt 1.6.* for compatibility reasons.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use paho-mqtt 1.6.* and want static type checking.

Install friction is negligible, maintenance is active, and the Apache-2.0 license poses no restrictions. Do not install if you are already on paho-mqtt 2.0.0 or later, as those versions include built-in type annotations.

Install

types-paho-mqtt on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Actively maintained via typeshed with recent updates.

Requires paho-mqtt 1.6.* to be installed separately; paho-mqtt 2.0.0+ includes its own type stubs and makes this package redundant.

License in practice

Apache-2.0 permissive license allows use in most projects with minimal restrictions.

Quickstart

pip install types-paho-mqtt

# In your code using paho-mqtt, type checkers will now understand the types
import paho.mqtt.client as mqtt
client: mqtt.Client = mqtt.Client()

Verify before relying

  • Whether type coverage is complete for all paho-mqtt 1.6.* APIs and edge cases.
  • Compatibility with paho-mqtt 1.6.x patch versions beyond the latest tested release.

Package facts

LicenseApache-2.0 license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 876 days since the last release
Last repo commit
First released
Downloads135,318 / month, #11,441 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_paho_mqtt-1.6.0.20240321-py3-none-any.whl

Tags

Capabilities
type stubs paho-mqttpaho-mqtt type hintsmqtt type checkingmypy paho-mqttpython mqtt typingpaho mqtt annotations
Topics
type-stubsmqtt

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type stubs paho-mqtt”

  • types-paho-mqttProvides type stubs for paho-mqtt 1.6.* to enable static type…
  • asyncio-mqttProvides an async/await interface to MQTT messaging, wrapping…
  • pyeconetProvides an async Python interface to the unofficial Rheem EcoNet API…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-boto · types-redis · types-Pillow · paho-mqtt · tb-paho-mqtt-client · types-urllib3 · types-typed-ast · types-stripe · asyncio-mqtt · aiomqtt