aMQTT is an open source MQTT client and broker implementation in python
 
 
 
 
 
 
Go to file
Andrew Mirsky f3291eda2f
fixes Yakifo/amqtt#154 : will message is allowed to have zero length. and the StreamReader can return 'None' or zero and they have different implications. if reading value in order to read from a stream and the length is zero, return a NoDataError. Creating exception class to satisfy EM101 and TRY003
2025-06-07 18:21:08 -04:00
.github Merge pull request #194 from ajmirsky/issues/55 2025-06-04 10:38:31 -04:00
amqtt fixes Yakifo/amqtt#154 : will message is allowed to have zero length. and the StreamReader can return 'None' or zero and they have different implications. if reading value in order to read from a stream and the length is zero, return a NoDataError. Creating exception class to satisfy EM101 and TRY003 2025-06-07 18:21:08 -04:00
docs adding documentation for additional client configuration options 2025-06-03 11:11:07 -04:00
samples Merge branch 'rc' into documentation_update 2025-05-30 12:05:26 -04:00
scripts
tests fixes Yakifo/amqtt#154 : will message is allowed to have zero length. and the StreamReader can return 'None' or zero and they have different implications. if reading value in order to read from a stream and the length is zero, return a NoDataError. Creating exception class to satisfy EM101 and TRY003 2025-06-07 18:21:08 -04:00
.codecov.yml
.coveragerc
.gitattributes
.gitignore
.pre-commit-config.yaml using 'n' messages to force amqtt_sub to exit, instead of SIGINT which seems to cause the process to force quit instead of causing a keyboard interupt 2025-06-03 18:29:13 -04:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
MANIFEST.in
README.md
SECURITY.md
SUPPORT.md
mkdocs.rtd.yml the sys/broker plugin requires the full BrokerContext. moving 'BasePlugin' into its own file to remove a circular import. also fixing lint errors and updating pre commit config to mirror the checks being run in ci only 2025-05-31 12:59:24 -04:00
pyproject.toml Merge branch 'rc' into test_paho 2025-06-01 11:12:46 -04:00
uv.lock Merge branch 'rc' into test_paho 2025-06-01 11:12:46 -04:00

README.md

MIT licensed CI CodeQL Documentation Status Join the chat Python Version Python Wheel PyPI

docs/assets/amqtt.svg

aMQTT is an open source MQTT broker1, natively implemented with Python's asyncio.

Features

  • Full set of MQTT 3.1.1 protocol specifications
  • Communication over TCP and/or websocket, including support for SSL/TLS
  • Support QoS 0, QoS 1 and QoS 2 messages flow
  • Client auto-reconnection on network lost
  • Functionality expansion; plugins included:
    • Authentication through password file
    • Basic $SYS topics

Installation

amqtt is available on PyPI

$ pip install amqtt

Documentation

Available on Read the Docs.

Support

Bug reports, patches and suggestions welcome! Just open an issue or join the gitter community.

Python Version Compatibility

Version hbmqtt compatibility Supported Python Versions PyPi Release
0.10.x yes 2 3.7 - 3.9 0.10.1
0.11.x no 3 3.10 - 3.13 0.11.0

For a full feature roadmap, see ...


  1. Forked from HBMQTT after it was deprecated by the original author. ↩︎

  2. drop-in replacement ↩︎

  3. module renamed and small API differences ↩︎