aedes-mqtt
A reliable, silent, production-ready MQTT publisher library for Python >3.10, built from paho-mqtt.
Features
- Silent by Design: Contains zero internal logging. All errors are reported via return values or exceptions, giving full control to the consumer.
- JSON Serialization: Automatically converts dictionaries to JSON.
- Dynamic Connection Management: Enable or disable the publisher at runtime.
- QoS Support: Full support for MQTT QoS 0, 1, and 2.
- Modern Packaging: Built with
pyproject.tomlandsetuptools.
Installation
pip install aedes-mqtt
Quick Start
The library is silent; ensure you check return values for success/failure.
from aedes_mqtt import MQTTPublisher
# Initialize
publisher = MQTTPublisher(
broker="localhost",
port=1883,
enable=True
)
# Publish a message
data = {"event": "detection", "object": "car"}
success = publisher.publish(topic="ai/tracks", payload=data, qos=1)
if not success:
print("Publish failed")
# Cleanup
publisher.close()
Requirements
- Python >3.10
paho-mqtt==2.1.0
License
MIT
Metadata
Release files for aedes-mqtt 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aedes_mqtt-0.1.1.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aedes_mqtt-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / aedes_mqtt-0.1.1.tar.gz
| Download URL | aedes_mqtt-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4f60937dfe62c7f4e2b0f689537f1324cee05ac668fe4917038056cb74c2d6e
|
|
BLAKE2b-256 checksum How to use checksums |
8a95c4d5c07e8a93761207adfdc1c44a9beba151191b68a4ef64637e9a52e2a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.14
|
Release files / aedes_mqtt-0.1.1-py3-none-any.whl
| Download URL | aedes_mqtt-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62ae61ebb9c4abe24f1d3fae2b67006f5edde9fb89f12ea50d13e1de78a8439d
|
|
BLAKE2b-256 checksum How to use checksums |
301683c4a663ed46e2de00ab0e987645c815f84210073ca9609eae585a155010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.14
|
Security for aedes-mqtt 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.