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

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.19
File Size Uploaded
moat_mqtt-0.42.19.tar.gz 63.4 kB Details

Built distribution (wheel)

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

Total release size: 135.4 kB

Release files / moat_mqtt-0.42.19.tar.gz

Download URL moat_mqtt-0.42.19.tar.gz
Size 63.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6ced2bcf459f0b747f336f8e457ab2e91f5bab86a0aa0ce0673c9f1f3b73aa1a
BLAKE2b-256 checksum
How to use checksums
78b7640f1dc6f67b295eaa9b5e92a1af91ee2e8a3a0ed248a8bbfe2bb4f1eae9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

Download URL moat_mqtt-0.42.19-py3-none-any.whl
Size 72.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b01d81a8274da27e7b11399122a50f6d56299f0fdff73344408a7eaab5cd2334
BLAKE2b-256 checksum
How to use checksums
60478d3513ee428fa1055be42456c67ac1bc7ce94eb2c700f297efc61a2ed9fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7
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