Skip to main content

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

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 ↩

Metadata

Release files for amqtt 0.11.3

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.11.3
File Size Uploaded
amqtt-0.11.3.tar.gz 88.1 kB Details

Built distribution (wheel)

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

Total release size: 206.8 kB

Release files / amqtt-0.11.3.tar.gz

Download URL amqtt-0.11.3.tar.gz
Size 88.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8818bc3037ac027368228098852007c0a77e367fc11389c1405169618d4c8b8b
BLAKE2b-256 checksum
How to use checksums
3c52329c655644b6ffc36fb15a49bd245dec31bb45a91f1c8291c84b84fa1695
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

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

Download URL amqtt-0.11.3-py3-none-any.whl
Size 118.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c774eb68087fe8cda17b7e9d40a8016ea782ba637c272d97df86bf1cd23c658d
BLAKE2b-256 checksum
How to use checksums
9395d484a1bcb22868247bbbb3c3a61c7f4dd6713e92052e862ac2b6873ca3b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1
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