Skip to main content

A library for interacting with Azure Sphere 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 microsoft-azure-sphere-deviceapi.

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 microsoft_azure_sphere_deviceapi 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

microsoft-azure-sphere-deviceapi-0.1.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

microsoft_azure_sphere_deviceapi-0.1.1-py2.py3-none-any.whl (22.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file microsoft-azure-sphere-deviceapi-0.1.1.tar.gz.

File metadata

File hashes

Hashes for microsoft-azure-sphere-deviceapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eb5363dc7fe426af90d74768b2fbbfe69f7a06f0e450bca595fda8f3110b6222
MD5 d0fe644c5b3db27cf3da4a65bdc03f75
BLAKE2b-256 35e937387b1f9c3c07b64976ff0f981b6f980de0a3cee345b2ae2e8145cc8280

See more details on using hashes here.

File details

Details for the file microsoft_azure_sphere_deviceapi-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for microsoft_azure_sphere_deviceapi-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 db1602c1f0b3cec0957d3cb15bb7de1a3b008d11f24d4ff14c83d903f99621b9
MD5 ca11b95a0b63ca4e415a8d43b1f6f2bd
BLAKE2b-256 19621436a684e04ddbca4b34af6626ff66760c417a836d0908868657613f758c

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