Skip to main content

MoaT-MQTT

% start synopsis % start main

MoaT-MQTT is an open source MQTT 3.1.1 client and broker implementation. It is a fork of hbmqtt with support for anyio and MoaT-KV.

MoaT-MQTT provides a straightforward API based on coroutines, making it easy to write highly concurrent applications.

% end synopsis

Deprecation Notice

MoaT-MQTT shall be retired because by now, broker support for MQTT 5 is nearly universal.

The designated replacement is mqttproto, or rather our enhanced version in moat-lib-mqtt.

% end main

Features

MoaT-MQTT implements the full set of MQTT 3.1.1 protocol specifications and provides the following features:

  • Support for QoS 0, QoS 1 and QoS 2 messages flows
  • Client auto-reconnection
  • Authentication via password file (more methods can be added through a plugin system)
  • Basic $SYS topics
  • TCP and websocket support
  • SSL support over TCP and websocket
  • Plugin system
  • Optional: Storage of retained messages in MoaT-KV

Build status

TODO.

Project status

TODO.

Getting started

MoaT-MQTT is available on Pypi and can installed simply using pip :

$ pip install moat-mqtt

Documentation is available on Read the Docs.

Bug reports, patches and suggestions welcome! Just open an issue.

:alt: '''Join the chat at https://gitter.im/beerfactory/moat-mqtt'''
:target: https://gitter.im/beerfactory/moat-mqtt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

Moat-MQTT? DistMQTT? MoaT-KV? Whatever?

MoaT-MQTT is a Python package that includes a stand-alone MQTT server, as well as basic client scripts. It is based on hbmqtt and was previously named "DistMQTT".

MoaT-KV is a distributed key-value storage system. It uses the MoaT-MQTT client library as its connector to an MQTT server, preferably Mosquitto or some other low-latency broker. It was previously named "DistKV".

A MoaT-MQTT server can hook into MoaT-KV so that some messages are persisted, translated (i.e. store msgpack messages encoding True and False, instead of the strings "on" and "off" (or "ON" and "OFF" or "1" and "0" or …)), filtered (e.g. the client can only modify existing messages but not add any), et al..

Metadata

Release files for moat-mqtt 0.42.20

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-mqtt 0.42.20
File Size Uploaded Provenance Actions
moat_mqtt-0.42.20.tar.gz 63.5 kB Without provenance Details for moat_mqtt-0.42.20.tar.gz

Built distribution (wheel)

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

Total release size: 135.5 kB

Release files / moat_mqtt-0.42.20.tar.gz

Download URL moat_mqtt-0.42.20.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dd74242de27997df46e7b7a4dbedf4e3bc7bbc6ad1e27e4b82ee465ba5ca729a
BLAKE2b-256 checksum
How to use checksums
88c2f60c7d9b9d6f717b90e9e73ab28a283b743f07f8e4c7ccb6685046707042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / moat_mqtt-0.42.20-py3-none-any.whl

Download URL moat_mqtt-0.42.20-py3-none-any.whl
Size 72.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc9c844fa498f55b2316f067aea2c6cf23f95559d0ab67b4dfb38f1597f0e7cd
BLAKE2b-256 checksum
How to use checksums
16b252e0f7531c4d0a532b6cf8ec9325fe652f3567bfb15e6b53ccd95d2c8f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for moat-mqtt 0.42.20

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