Skip to main content

A library for interacting with Azure Sphere devices using the inbuilt REST server.

Project description

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.

Versions

This library follows Semantic Versioning.

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 and 20.04

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

azuresphere-device-api-1.0.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

azuresphere_device_api-1.0.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file azuresphere-device-api-1.0.1.tar.gz.

File metadata

File hashes

Hashes for azuresphere-device-api-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb97eb8d88a79497b6640247f8db9ec2a11a441a70453af072f52f970fca5f51
MD5 a6a73e8347c0f8fc33599ff2d8abe384
BLAKE2b-256 173f22d5ccbb5251f1e970b1927600ebf790d2204f6fb5bd768667088d8e846f

See more details on using hashes here.

File details

Details for the file azuresphere_device_api-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for azuresphere_device_api-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac21e943cdcd92b8f9fd19d3732ac6e0b198dbf2f4d50a2f9db0e67de83fab0b
MD5 4c1ea1f281296f2798d450dfde44d98f
BLAKE2b-256 d872b40e18f604c62709da18b9f53f986ac8d6e57454b988038e9e91ab564ad0

See more details on using hashes here.

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