Skip to main content

MQTT Library

% start synopsis % start main

A sans-io_ implementation of the MQTT_ v5 protocol.

Contents:

  • State machines appropriate for implementing MQTT_ clients and brokers
  • Asynchronous client and broker implementations
  • Synchronous client implementation, implemented by using an asyncio_ event loop thread behind the scenes

While the provided client I/O implementations are intended for production use, the broker implementation should only be used in very lightweight scenarios where high performance or a broad feature set are not required.

.. _asyncio: https://docs.python.org/3/library/asyncio.html .. _MQTT: https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html .. _sans-io: https://sans-io.readthedocs.io/

% end synopsis

The state machine implementation tries to adhere to the MQTT v5 protocol as tightly as possible, and this project has certain automatic safeguards to ensure correctness:

  • Ruff_ linting
  • Passes Mypy_ in strict mode
  • Documentation built with "fail-on-warning" enabled

.. _Ruff: https://docs.astral.sh/ruff/ .. _Mypy: https://mypy-lang.org/

% end main

You can find the documentation here <https://m-o-a-t.org/moat.lib.mqtt/>_.

Metadata

Release files for moat-lib-mqtt 0.8.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-lib-mqtt 0.8.7
File Size Uploaded Provenance Actions
moat_lib_mqtt-0.8.7.tar.gz 34.8 kB Without provenance Details for moat_lib_mqtt-0.8.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moat-lib-mqtt 0.8.7
File Interpreter ABI Platform Actions
moat_lib_mqtt-0.8.7-py3-none-any.whl Python 3 none any Details for moat_lib_mqtt-0.8.7-py3-none-any.whl

Total release size: 71.4 kB

Release files / moat_lib_mqtt-0.8.7.tar.gz

Download URL moat_lib_mqtt-0.8.7.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9d291ee223bc29b40eb770e58dbcfa76fcb274061d6d08cb5717211990867867
BLAKE2b-256 checksum
How to use checksums
331c0f07803ab7538e145fbb3ed0194e8db6630515b8081dbb03d25f1ab7f645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / moat_lib_mqtt-0.8.7-py3-none-any.whl

Download URL moat_lib_mqtt-0.8.7-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3634bb7595afc392da8422e362bab7056b414665b0e55266855b8a057acc730b
BLAKE2b-256 checksum
How to use checksums
0cce333060d4db57d88325e170a9c1718b55831ebff0c59f77d4c878192c211e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for moat-lib-mqtt 0.8.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page