Amqtt
Open source MQTT broker and client library for Python asyncio

What it is
aMQTT is an open source MQTT broker and client implementation built on Python's asyncio framework. The site serves as the official documentation hub for the project, providing comprehensive guides, API references, and deployment instructions.
It supports full MQTT 3.1.1 protocol specifications, multiple transport layers including TCP and WebSocket with SSL/TLS, QoS levels 0-2, client auto-reconnection, and a plugin framework with built-in plugins for authentication, authorization, session persistence, and shadow states.
The library targets Python developers building IoT applications, messaging systems, or real-time communication services. It offers a drop-in replacement for the deprecated HBMQTT project with updated compatibility for Python 3.10 through 3.14.
Users can install the package via pip, run a broker instance using Docker, or integrate the client and broker APIs directly into their applications. A public test broker is available at test.amqtt.io for quick validation.
The project emphasizes extensibility through plugins, supports diverse authentication methods including JWT, LDAP, and database backends, and maintains active community support via Discord and GitHub. It is licensed under an open source license and hosted on Read the Docs with versioned documentation.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Read comprehensive documentation and API reference
- Install the library via pip or Docker
- Test MQTT functionality with the public broker
- Explore plugin system for authentication and authorization
- Join the community for support and contributions
Who it's for
Python developers building IoT and real-time messaging applications
Frequently asked questions about amqtt.readthedocs.io
›What is aMQTT?
aMQTT is an open source MQTT broker and client library implemented in Python using asyncio for asynchronous networking.
›How do I install aMQTT?
Install via pip with the command pip install amqtt, or run the broker using Docker with docker run -d -p 1883:1883 amqtt/amqtt:latest.
›Which Python versions are supported?
Versions 0.12.x support Python 3.10 through 3.14, while older versions support earlier Python releases.
›What authentication plugins are included?
Built-in plugins provide file-based password authentication, JWT, LDAP, HTTP external auth, and database authentication for MySQL, PostgreSQL, and SQLite.
›Is there a public test broker available?
Yes, the project runs a test broker at test.amqtt.io supporting MQTT, MQTT over TLS, WebSocket, and secure WebSocket connections.
›How can I contribute or get support?
Contributions are welcome via GitHub issues and pull requests, and community support is available through the project's Discord server.
›What license does aMQTT use?
The project is open source, but the specific license is not detailed in the documentation excerpt; check the repository for license information.
