kopia lustrzana https://github.com/Yakifo/amqtt
![]() * initial structure of http acl * progress * Yakifo/amqtt#258 (in progress): a plugin which requests authentication via http * Yakifo/amqtt#258 (in progress): a plugin which requests topic acl via http * renaming plugin * StrEnum support for python 3.10 * when using python 3.10, 'localhost' resolves to the wrong ip address, so we excplicitly use the loopback address. our polyfill for StrEnum in python 3.10, needs to get the value instead of its implicit converstion in other versions * add documentation, expand functionality to handle case including test cases * refactoring test fixtures for HttpAuthAclPlugin * further refactoring of test cases to eliminate duplicate code * add comments to test code * rename to more accurately describe user authentication and topic authorization * config option name change * cleaning up documentation on the Topic ACL Plugin * simplificiation based on feedback * updated doc * incorporated feedback |
||
---|---|---|
.github | ||
amqtt | ||
docs | ||
docs_test | ||
docs_web | ||
samples | ||
scripts | ||
tests | ||
.codecov.yml | ||
.coveragerc | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.readthedocs.yaml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE.md | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
SECURITY.md | ||
SUPPORT.md | ||
mkdocs.rtd.yml | ||
mkdocs.web.yml | ||
pyproject.toml | ||
uv.lock |
README.md
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 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 and
$SYS
topic publishing
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 |