Skip to main content

Microsoft Azure Sphere Device REST APIs for Python

Microsoft Azure Sphere Device REST APIs for Python enables users to interact with an Azure Sphere device using REST APIs.

Installation

You can find Microsoft Azure Sphere Device REST APIs for Python on PyPi.

  1. If you haven't already, install and/or upgrade the pip of your Python environment to a recent version.
  2. Run pip install azuresphere_device_api.

Usage

Before using Microsoft Azure Sphere Device REST APIs for Python, you must install the Azure Sphere SDK.

Sample

The display_ip_deviceid sample gets the list of attached devices, displays the device IP address, and device ID.

Active device IP address

By default, this package will target Azure Sphere devices with IP address 192.168.35.2. To change the active Azure Sphere device, call set_active_device_ip_address API as below:

from azuresphere_device_api import devices
devices.set_active_device_ip_address("<Device_Ip_Address")

Documentation

Microsoft Azure Sphere Device REST APIs for Python documentation is available at Azure Sphere Device REST APIs Docs.

Supported host operating systems

  • Windows 10 and 11
  • Ubuntu 18.04, 20.04, 22.04

Metadata

Release files for azuresphere-device-api 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azuresphere-device-api 1.1.1
File Size Uploaded Provenance Actions
azuresphere-device-api-1.1.1.tar.gz 17.9 kB Without provenance Details for azuresphere-device-api-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for azuresphere-device-api 1.1.1
File Interpreter ABI Platform Actions
azuresphere_device_api-1.1.1-py3-none-any.whl Python 3 none any Details for azuresphere_device_api-1.1.1-py3-none-any.whl

Total release size: 41.9 kB

Release files / azuresphere-device-api-1.1.1.tar.gz

Download URL azuresphere-device-api-1.1.1.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b554d2f96fd24a9eb72d7857c350e854c13201a42476ca71e1243481e2f16de3
BLAKE2b-256 checksum
How to use checksums
ef7f173a252d9ab0a7e6f2a39c599a252b4673e48f29e8aced21150bea3d0172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / azuresphere_device_api-1.1.1-py3-none-any.whl

Download URL azuresphere_device_api-1.1.1-py3-none-any.whl
Size 24.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fde24a526eb48da1e32f6c41971d7e722332ec76fe6cc364f5e9a2ea6875f0e
BLAKE2b-256 checksum
How to use checksums
9109f7faa954f1cb18a93913c01a9cb703cfc93f81554940871d3c1063e7b96f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Security for azuresphere-device-api 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page