Skip to main content

Microsoft Azure Device Update Client Library for Python

Project description

Azure Device Update for IoT Hub client library for Python

The library provides access to the Device Update for IoT Hub service that enables customers to publish updates for their IoT devices to the cloud, and then deploy these updates to their devices (approve updates to groups of devices managed and provisioned in IoT Hub).

Source code | Package (PyPI) | Product documentation

Getting started

Prerequisites

  • Microsoft Azure Subscription: To call Microsoft Azure services, you need to create an Azure subscription
  • Device Update for IoT Hub instance
  • Azure IoT Hub instance
  • Python 2.7, or 3.6 or later is required to use this package.

Install the package

Install the Device Update for IoT Hub client library for Python with pip:

pip install azure-iot-deviceupdate --pre

Key concepts

Device Update for IoT Hub is a managed service that enables you to deploy over-the-air updates for your IoT devices. The client library has one main component named AzureDeviceUpdateServiceDataPlane. The component allows you to access all three main client services:

  • UpdatesOperations: update management (import, enumerate, delete, etc.)
  • DevicesOperations: device management (enumerate devices and retrieve device properties)
  • DeploymentsOperations: deployment management (start and monitor update deployments to a set of devices)

You can learn more about Device Update for IoT Hub by visiting Device Update for IoT Hub.

Examples

You can familiarize yourself with different APIs using Samples.

Troubleshooting

The Device Update for IoT Hub client will raise exceptions defined in [Azure Core][https://github.com/azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/readme.md].

Next steps

Get started with our Device Update for IoT Hub samples

Contributing

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

1.0.0b1 (2021-03-03)

  • This is the initial release of Azure Device Update for IoT Hub library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-iot-deviceupdate-1.0.0b1.zip (65.9 kB view hashes)

Uploaded Source

Built Distribution

azure_iot_deviceupdate-1.0.0b1-py2.py3-none-any.whl (47.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page