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

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.18
File Size Uploaded
moat_mqtt-0.42.18.tar.gz 63.0 kB Details

Built distribution (wheel)

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

Total release size: 134.6 kB

Release files / moat_mqtt-0.42.18.tar.gz

Download URL moat_mqtt-0.42.18.tar.gz
Size 63.0 kB
Tags Source
SHA-256 checksum
How to use checksums
544dbe71a73d74f9d13dbddeeada101e537d93d18a25a3367210f0342a730d8e
BLAKE2b-256 checksum
How to use checksums
f77f9e00117952b9f5655fb3de32e3246ce0f74b4caac8476d180f5595c778d8
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.18-py3-none-any.whl

Download URL moat_mqtt-0.42.18-py3-none-any.whl
Size 71.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36dc9ad6bb533032a0acace9cf3f0e3b1a652d3b7203345e4fd0add2b7aee0d1
BLAKE2b-256 checksum
How to use checksums
d165770d4f12a4e0f2c48437f2c0161f512772a8a08ded4cc66c8cd383ee258f
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