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 multiple TCP and/or websocket ports, including support for SSL/TLS
-
Support QoS 0, QoS 1 and QoS 2 messages flow
-
Client auto-reconnection on network lost
-
Plugin framework for functionality expansion; included plugins:
$SYStopic publishing- AWS IOT-style shadow states
- x509 certificate authentication (including cli cert creation)
- Secure file-based password authentication
- Configuration-based topic authorization
- MySQL, Postgres & SQLite user and/or topic auth (including cli manager)
- External server (HTTP) user and/or topic auth
- LDAP user and/or topic auth
- JWT user and/or topic auth
- Fail over session persistence
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.
Please report security vulnerabilities privately according to the security policy.
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 |
| 0.12.x | no 3 | 3.10 - 3.14 |
Metadata
Release files for amqtt 0.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amqtt-0.12.1.tar.gz | 93.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amqtt-0.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 223.5 kB
Release files / amqtt-0.12.1.tar.gz
| Download URL | amqtt-0.12.1.tar.gz |
|---|---|
| Size | 93.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7112cce32f9b9d3f24abb1f60c604695909cd6a31f89e79e430585326ebe97d8
|
|
BLAKE2b-256 checksum How to use checksums |
72bff08b1a1f3efec308d6883253bb3c2b689309535931e16040b1516f0cebdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / amqtt-0.12.1-py3-none-any.whl
| Download URL | amqtt-0.12.1-py3-none-any.whl |
|---|---|
| Size | 129.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfaf9d5989a31f5bae8506d9c91451d677e874efc1c89ca2e76ca650cd9b5cbb
|
|
BLAKE2b-256 checksum How to use checksums |
299e624469a7b7df2c07701b5e977b9bd84b2c8f04789ed9e5250f8ca6a3414d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log