The Azure IoTHub Service SDK for Python provides functionality for communicating with the Azure IoT Hub.
The SDK provides the following clients:
-
- Provides CRUD operations for device on IoTHub
- Get statistics about the IoTHub service and devices
pip install azure-iot-hub
Check out the samples repository for more detailed samples
API documentation for this package is available via Microsoft Docs
Additionally, the SDK makes use of docstrings which means you can find API documentation directly through Python with use of the help command:
>>> from azure.iot.hub import IoTHubRegistryManager
>>> help(IoTHubRegistryManager)