Build devices that communicate with Azure IoT Hub.
Use the device SDK to:
- Send event data to Azure IoT Hub.
- Receive messages from IoT Hub.
- Communicate with the service via AMQP, MQTT or HTTP.
For more information on how to use this library refer to the documents below:
- Prepare your Python development environment
- Setup IoT Hub
- Provision devices
- Run a Python sample application
Device SDK subfolders under python/device:
C Source of the Python extension module. This module wraps the IoT Hub C SDK as extension module for Python. The C extension interface is specific to CPython and it does not work on other implementations.
Sample Python applications excercising basic features using AMQP, MQTT and HTTP.
Python C extension module unit tests. The unit tests exercise a mocked Python extension module to test the Python interface.