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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amqtt-0.12.0.tar.gz (93.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amqtt-0.12.0-py3-none-any.whl (129.8 kB view details)

Uploaded Python 3

File details

Details for the file amqtt-0.12.0.tar.gz.

File metadata

  • Download URL: amqtt-0.12.0.tar.gz
  • Upload date:
  • Size: 93.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amqtt-0.12.0.tar.gz
Algorithm Hash digest
SHA256 a0c5a6d13e8179f5c7d0900bca954986594016d4b7cb4cfb88a599bf184a427e
MD5 acc8a421fd52dae968620535945e86d8
BLAKE2b-256 182f023d074273f054d6c7aa464fa3585bdf060cce3192ac7ecfd06d0efee3b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for amqtt-0.12.0.tar.gz:

Publisher: publish-pypi.yml on Yakifo/amqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amqtt-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: amqtt-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 129.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amqtt-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2af70142d74a565ab34728c4cefb8bf757c0d400ff66b79fd0ebff313bccc7
MD5 2a41fdbbea362d430e0b3eb42ddd6d51
BLAKE2b-256 ed766b5f79b2a9494f12c6a389dace481f78761393a66ec27c2633efa29b8f4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for amqtt-0.12.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Yakifo/amqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page