{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"}],"enrichment":{"capability":"Connects Python applications to Azure IoT Hub for device-to-cloud messaging, cloud-to-device commands, device twins, and direct method invocation over MQTT.","skillfed_tags":["azure-iot","mqtt-client","device-connectivity"],"use_cases":["Send sensor telemetry (temperature, humidity, etc.) from edge devices to Azure IoT Hub for real-time monitoring.","Receive and execute cloud-initiated commands on devices (e.g., firmware updates, configuration changes).","Manage device state and properties using device twins for remote configuration and status tracking.","Implement remote procedure calls from cloud to device using direct methods for immediate device control.","Upload device-generated files (logs, diagnostics) to Azure Blob Storage via IoT Hub.","Authenticate IoT devices securely using certificates or symmetric keys in production deployments."],"what_it_does":"The Azure IoT Device SDK for Python is Microsoft's official client library for connecting IoT devices to Azure IoT Hub. It handles the MQTT protocol layer, authentication (symmetric key, X.509 certificates, SAS tokens), and bidirectional messaging between devices and the cloud. The library abstracts away low-level networking details so developers can focus on device logic.\n\nTypical use cases include sending telemetry from sensors to the cloud, receiving commands from cloud applications, managing device state via twins, and invoking remote methods on devices. The SDK includes built-in connection retry logic, error reporting aligned with IoT Hub error codes, and support for file uploads to blob storage. It is production-stable and actively maintained, with support for Python 3.8 through 3.12.","worth_installing":"Yes. The package is production-stable, actively maintained, has low install friction, and is the official Microsoft SDK for Azure IoT Hub device connectivity. Use it if you are building IoT solutions on Azure and need a Python device client. No known vulnerabilities and permissive licensing make it a straightforward choice for this use case."},"id":"azure-iot-device","links":{"html":"https://skillfed.io/packages/azure-iot-device","md":"https://skillfed.io/packages/azure-iot-device.md","pypi":"https://pypi.org/project/azure-iot-device/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-07-17","license_spdx":null,"license_treatment":"permissive","name":"azure-iot-device","python_support":"supports_current","summary":"Microsoft Azure IoT Device Library"},"popularity":{"monthly_downloads":463564,"position":6520,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.14.0"}
