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

Notice to users: This is a pre v1.0 package - there may be changes over the coming weeks which may include package name and API. This README will be updated to indicate any changes.

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

Built Distributions

microsoft_azure_sphere_deviceapi-0.1.2-py2.py3-none-any.whl (22.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for microsoft-azure-sphere-deviceapi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a19dad30da7c67a64c7b00ac39ef4bb587b199c524c8fe43d358727c2f9977f4
MD5 0b34170ecee85c322db5f01f1917bc62
BLAKE2b-256 9d8f6b432e68ccb072379c68fd5da5fddcb976dbb84ee8e91b6bf45219bd8bdc

See more details on using hashes here.

File details

Details for the file microsoft_azure_sphere_deviceapi-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for microsoft_azure_sphere_deviceapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72c108192cae673281a4a3708b69d1cab9db2849f4641621654d5fba0bad6663
MD5 e340f3ff71ce45d615ad9b80d21710c0
BLAKE2b-256 3a62fe52e44f688dce213e117e8e46c4fdc2173b0a5064f7dee34feb11f56b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_azure_sphere_deviceapi-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 482ac6407be7ae3bf259a89ef8d761bc53d84871a881167a308fe84e93f0fffc
MD5 172189e6f0c5eada206627fc8041ee4e
BLAKE2b-256 b5c23bd63285ef4d342cc9f5e42fbbf1d9904749f9e0121a4c7e7012fb42eea3

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