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

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.4
File Size Uploaded
amqtt-0.11.4.tar.gz 88.0 kB Details

Built distribution (wheel)

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

Total release size: 206.7 kB

Release files / amqtt-0.11.4.tar.gz

Download URL amqtt-0.11.4.tar.gz
Size 88.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ab6ff549ce22dafa6fe9a6c7c38b2abd9867d30df60121085446d8290230a79f
BLAKE2b-256 checksum
How to use checksums
ed6d72af0119f9ff60fe2a9dbeef7a37f671043d257c4be1d99bfbd563b329e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

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

Download URL amqtt-0.11.4-py3-none-any.whl
Size 118.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5101430d624a62872be6e7a3d400d30b77d3a9cc887e177e1016394359282405
BLAKE2b-256 checksum
How to use checksums
b67437fcccbe5cfdd32a56c024f4d4ad13788a9a7a72700a3535f099dc5e9463
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