aMQTT is an open source MQTT client and broker implementation in python
 
 
 
 
 
 
Go to file
Andrew Mirsky 31bd1638e7
update event callback signatures in documentation
2025-06-29 17:14:53 -04:00
.github
amqtt client connect/disconnect event callbacks now receive the client 'Session' 2025-06-29 12:07:43 -04:00
docs update event callback signatures in documentation 2025-06-29 17:14:53 -04:00
docs_test Merge branch '0.11.1-rc' into add_client_display 2025-06-26 13:52:47 -04:00
docs_web
samples updating sample to demonstrate failure 2025-06-26 13:33:13 -04:00
scripts
tests Merge branch '0.11.1-rc' into refine_sample_tests 2025-06-26 13:19:37 -04:00
.codecov.yml
.coveragerc
.gitattributes
.gitignore
.pre-commit-config.yaml
.readthedocs.yaml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
LICENSE.md
MANIFEST.in
Makefile
README.md
SECURITY.md
SUPPORT.md
mkdocs.rtd.yml fix mkdoc configuration issue 2025-06-26 14:37:48 -04:00
mkdocs.web.yml
pyproject.toml release 0.11.1 2025-06-26 14:30:30 -04:00
uv.lock release 0.11.1 2025-06-26 14:30:30 -04:00

README.md

MIT licensed CI CodeQL Read the Docs Discord Python Version Python Wheel PyPI

docs/assets/amqtt.svg

aMQTT is an open source MQTT broker and client1, natively implemented with Python's asyncio.

Features

  • Full set of MQTT 3.1.1 protocol specifications
  • Communication over TCP and/or websocket, including support for SSL/TLS
  • Support QoS 0, QoS 1 and QoS 2 messages flow
  • Client auto-reconnection on network lost
  • Functionality expansion; plugins included: authentication and $SYS topic publishing

Installation

amqtt is available on PyPI

$ pip install amqtt

Documentation

Available on Read the Docs.

Containerization

Launch from DockerHub

$ docker run -d -p 1883:1883 amqtt/amqtt:latest

Testing

The amqtt project runs a test aMQTT broker/server at test.amqtt.io which supports: MQTT, MQTT over TLS, websocket, secure websockets.

Support

Bug reports, patches and suggestions welcome! Just open an issue or join the discord community.

Python Version Compatibility

Version hbmqtt compatibility Supported Python Versions
0.10.x yes 2 3.7 - 3.9
0.11.x no 3 3.10 - 3.13

  1. Forked from HBMQTT after it was deprecated by the original author. ↩︎

  2. drop-in replacement ↩︎

  3. module renamed and small API differences ↩︎