aMQTT is an open source MQTT client and broker implementation in python
 
 
 
 
 
 
Go to file
Andrew Mirsky 29e5a74dbc
fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list
2025-06-17 17:03:40 -04:00
.github path tweaks for v0.11.0 release 2025-06-17 10:58:48 -04:00
amqtt fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
docs fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
docs_test update changelog for 0.11.0 release. minor cleanup of docker launch examples 2025-06-17 10:15:38 -04:00
docs_web path tweaks for v0.11.0 release 2025-06-17 10:58:48 -04:00
samples fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
scripts
tests fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
.codecov.yml
.coveragerc
.gitattributes
.gitignore
.pre-commit-config.yaml
.readthedocs.yaml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile updating docs, version numbers and ssl 2025-06-16 15:24:23 -04:00
LICENSE.md
MANIFEST.in
Makefile docker build makefile. fix image url for readme so it shows up on pypi 2025-06-17 10:45:21 -04:00
README.md exclude files from hatch build 2025-06-17 11:30:08 -04:00
SECURITY.md
SUPPORT.md
mkdocs.rtd.yml fixes Yakifo/amqtt#225 : updating all samples, adding test coverage for samples. python 3.10 needs to explicitly catch asyncio.TimeoutError. correct 'topic-check' plugin list 2025-06-17 17:03:40 -04:00
mkdocs.web.yml updating docs, version numbers and ssl 2025-06-16 15:24:23 -04:00
pyproject.toml exclude files from hatch build 2025-06-17 11:30:08 -04:00
uv.lock updating docs, version numbers and ssl 2025-06-16 15:24:23 -04:00

README.md

MIT licensed CI CodeQL Documentation Status 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 PyPi Release
0.10.x yes 2 3.7 - 3.9 0.10.1
0.11.x no 3 3.10 - 3.13 0.11.0

For a full feature roadmap, see ...


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

  2. drop-in replacement ↩︎

  3. module renamed and small API differences ↩︎