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.5

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.5
File Size Uploaded
moat_lib_mqtt-0.8.5.tar.gz 34.7 kB Details

Built distribution (wheel)

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

Total release size: 71.3 kB

Release files / moat_lib_mqtt-0.8.5.tar.gz

Download URL moat_lib_mqtt-0.8.5.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3a040d0522f95cc63547dc6fb6e3f8eb423a6d7121bd33cb1e2f9d9a2bc60f6f
BLAKE2b-256 checksum
How to use checksums
5c34e1d11dee4a6041bcbcc4a20d4f3ab4d78ef1704c94b7457303d33d63bea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL moat_lib_mqtt-0.8.5-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58399bed94d4beef8c986689261e9a7d70be54abefda28c4e00ee23337b63386
BLAKE2b-256 checksum
How to use checksums
567df6232d94fb9c1f33ebeb554a14a635731e6f7a4545582a9a83fc807aaba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

0.8.6

2 release files

This release

0.8.5 This release

2 release files

0.8.4

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

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