faststream-community

Pure asyncio MQTT 3.1.1 and 5.0 client library. No paho dependency, no threading, no god classes.

44
3
100% credibility
Found Mar 23, 2026 at 44 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

zmqtt is a lightweight Python library for connecting applications to MQTT message brokers to send and receive topic-based messages asynchronously.

How It Works

1
πŸ” Discover zmqtt

You hear about zmqtt when you need a simple way for your apps or devices to send messages back and forth over the internet, like sensors sharing updates.

2
πŸ“₯ Add to your project

You easily bring zmqtt into your existing Python setup so it's ready to use.

3
πŸ”— Connect to a hub

You link your project to a central message hub where all the conversations happen.

4
πŸ‘‚ Listen for updates

You tell it which conversations to join, and it starts catching incoming messages like temperature readings or alerts.

5
πŸ“€ Send your messages

You share your own updates, choosing how reliably they need to arrive even if the connection wobbles.

6
πŸ”„ Stays connected

If the link drops, it automatically reconnects and picks up right where it left off, no fuss.

πŸŽ‰ Messages flow smoothly

Your apps and devices now chat reliably, handling everything from quick notes to important alerts without missing a beat.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 44 to 44 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is zMQTT?

zMQTT is a pure asyncio Python MQTT client supporting protocols 3.1.1 and 5.0, letting you connect to any MQTT broker or server on the standard MQTT port 1883 for pub/sub messaging. It handles QoS levels up to exactly-once delivery, auto-reconnects with subscription recovery, and delivers messages via simple async iterators or queues. Install with pip and use as a context manager for quick integration in async apps, like MQTT Home Assistant setups or Shelly device polling.

Why is it gaining traction?

Unlike paho wrappers like aiomqtt that drag in threading and partial MQTT 5 support, zMQTT runs pure asyncio with no deps, bounded queues for backpressure, manual message acks for durable processing, and typed properties for v5 features. Devs dig the transparent reconnects that keep subscriptions alive and the ping RTT for health checks, making it snappier than MQTT explorer tools for production. It's like the github pure bash bible for MQTT clientsβ€”lean, modern, and async-first.

Who should use this?

Python async devs building IoT services, microservices pubbing to MQTT brokers like Mosquitto or HiveMQ, or smart home apps with MQTT Shelly and Home Assistant. Perfect for edge nodes needing QoS 2 reliability without thread overhead, or prototypes mimicking MQTT explorer download functionality in asyncio loops.

Verdict

At 44 stars and 1.0% credibility, this alpha (v0.0.1) lib needs battle-testing, but excellent mkdocs docs, strict mypy, and pytest coverage make it promising for pure asyncio MQTT. Try it if you hate paho baggage; otherwise, stick to mature clients.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.