Skip to main content

MIT licensed CI CodeQL Read the Docs Python Version Python Wheel PyPI PyPI Downloads OpenSSF Baseline OpenSSF Best Practices OSSF-Scorecard Score Discord 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 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:

    • $SYS topic 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
  1. Forked from HBMQTT after it was deprecated by the original author. ↩

  2. drop-in replacement ↩

  3. module renamed and small API differences ↩ ↩2

Metadata

Release files for amqtt 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amqtt 0.12.0
File Size Uploaded
amqtt-0.12.0.tar.gz 93.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for amqtt 0.12.0
File Interpreter ABI Platform
amqtt-0.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 223.4 kB

Release files / amqtt-0.12.0.tar.gz

Download URL amqtt-0.12.0.tar.gz
Size 93.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c5a6d13e8179f5c7d0900bca954986594016d4b7cb4cfb88a599bf184a427e
BLAKE2b-256 checksum
How to use checksums
182f023d074273f054d6c7aa464fa3585bdf060cce3192ac7ecfd06d0efee3b8
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 Aug 12, 2026.

Transparency log

Release files / amqtt-0.12.0-py3-none-any.whl

Download URL amqtt-0.12.0-py3-none-any.whl
Size 129.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d2af70142d74a565ab34728c4cefb8bf757c0d400ff66b79fd0ebff313bccc7
BLAKE2b-256 checksum
How to use checksums
ed766b5f79b2a9494f12c6a389dace481f78761393a66ec27c2633efa29b8f4f
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 Aug 12, 2026.

Transparency log
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