{"repo":"Tangerino/aiomqttc","free":true,"listed":false,"github":"https://github.com/Tangerino/aiomqttc","clone":"git clone https://github.com/Tangerino/aiomqttc.git","description":"Async MQTT client for CPython and MicroPython with asyncio support.","language":"Python","stars":21,"topics":["async-python","asyncio","embedded","embedded-systems","esp32","event-driven","iot","micropython","mqtt","mqtt-client"],"license":null,"category":"auth-billing-email","readme_excerpt":"aiomqttc - Asynchronous MQTT Client An asynchronous MQTT client implementation compatible with both standard Python and MicroPython environments, particularly optimized for ESP32 platforms. Tested on: - ESP32-PICO - MicroPython v1.23.0 - RAM: 2MB Features - Fully asynchronous operation using Python's asyncio - Support for both CPython and MicroPython runtimes - Automatic reconnection with configurable backoff strategy - QoS 0 and QoS 1 message support - SSL/TLS connection support - Topic subscription and message callback handling - Keep-alive and ping management - Clean connection termination Development Setup This project uses pre-commit to enforce code quality using Ruff. Install it once: Then, every time you commit, it will run the configured hooks. Installation For Python environments: Install UV if you don't have it yet Clone the repository Install the package Run the example - ⚠️ Remember to configure the config.json file with your MQTT broker details. For MicroPython environments: Copy aiomqttc.py to your device Configuration The client can be configured via a JSON file. Here's an example config.json: Basic usage Cross-Environment Development Benefits One of the key advantages of aiomqttc is its ability to run identical code in both standard Python and MicroPython environments, which offers several benefits: Streamlined Development Workflow - Test on desktop, deploy to microcontrollers: Debug complex MQTT interactions on your PC before deploying to resource-constrained","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tangerino","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tangerino/aiomqttc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}