Skip to content
Projekte

Über uns

fastapi-mqtt is extension for MQTT protocol

Web- und App-Entwicklung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

fastapi-mqtt

MQTT is a lightweight publish/subscribe messaging protocol designed for M2M (machine to machine) telemetry in low bandwidth environments. Fastapi-mqtt is the client for working with MQTT.

For more information about MQTT, please refer to here: MQTT

Fastapi-mqtt wraps around the gmqtt module, a Python async MQTT client. The module supports the MQTT version 5.0 protocol.

MIT licensed GitHub stars GitHub forks GitHub issues


Documentation: FastApi-MQTT

The key features are:

  • Subscribe to topics with decorated handlers, publish to topics
  • Pydantic models for message payloads, to receive and publish typed messages
  • MQTT 5.0, with callbacks for connection events
  • MQTT settings with a pydantic class, authentication to the broker with credentials

🔨 Installation

Requires Python 3.12 or newer.

pip install fastapi-mqtt

Next: Getting Started, Configuration, Pydantic Models, Advanced.

Contributing

Feel free to open issues and send pull requests.

Thanks To Contributors. Contributions of any kind are welcome!

Before you start please read CONTRIBUTING, which also explains how to run the tests and the examples.

Ähnliche Projekte entdecken

Wird geladen…