Fastmqtt

Latest version: v0.2.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.1

We're pleased to announce the release of FastMQTT 0.2.1. This minor update introduces two new properties to improve connection status tracking.

Changes

Added
- New property `is_started` in `FastMQTT` class to check if the client has been started
- New property `is_connected` in `FastMQTT` class to check the current connection status

This release maintains compatibility with Python 3.10 and above, as established in the previous 0.2.0 release.

We appreciate your feedback. If you encounter any issues or have suggestions, please open an issue on our GitHub repository.

0.2.0

**Full Changelog**: https://github.com/toxazhl/fastmqtt/compare/0.1.5...v0.2.0

0.1.5

- fix black config
- update dependencies

0.1.4

Fix errors

0.1.2

Fix response timeout

0.1.1

**Changelog**

**New Features**

* **Custom Data Sharing**
* Attach custom data to messages within `FastMQTT` instances using the dictionary-like interface (`fastmqtt["database"] = "my_database"`).
* Enrich message context and make your applications more flexible.

**Improvements**

* **Enhanced Message Handling**
* Streamlined message handling logic for efficiency and clarity.
* **Expanded Routing**
* Include `MQTTRouter` instances within other routers to create more complex and modular MQTT routing structures.
* **New Message and Payload implemitations**
* More convenient payload parsing.

**Examples**

* **`basic.py`:** Demonstrates core FastMQTT usage, including message publishing and subscription.
* **`request_response.py`:** Showcases the new request/response feature.
* **`passing_data.py`:** Illustrates how to share custom data with message handlers.


**Notes**

* **Contributions welcome!** We encourage you to submit issues for bugs or feature requests and contribute directly with pull requests.

Let me know if you'd like any refinements or want to highlight specific changes!

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.