Mbed Cloud Python SDK
Project description
The mbed-cloud-sdk gives developers access to the full Arm Mbed suite using Python.
Prerequisites
Python 2.7.10+ / Python 3.4.3+, built with SSL support.
Use of virtual environments or pipenv is recommended to manage python versions and dependencies.
Installation
pip install mbed-cloud-sdk
Usage
These instructions can also be found in the official documentation:
Create an API key in the Mbed Cloud Portal.
Create a configuration file in your $HOME or project directory (.mbed_cloud_config.json):
{ "api_key": "your_api_key_here" }
Import the library and you’re ready to go.
from mbed_cloud.connect import ConnectAPI connect_api = ConnectAPI() connect_api.list_connected_devices().data[0] { "id": "Device #1", "state": "unenrolled", ... }
from mbed_cloud.account_management import AccountManagementAPI api = AccountManagementAPI() list(api.list_users())[0] { "email": "username@example.org", "full_name": "A.N. Individual", ... }
Documentation and examples
See the full documentation and API reference at https://cloud.mbed.com/docs/v1.2/mbed-cloud-sdk-python/.
Licence
Mbed Cloud SDK for Python is free to use and licensed under the Apache License 2.0. See LICENCE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for mbed_cloud_sdk-1.2.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49c8aff84a1d5cc0fe83b2a19b117a404c09f1ff2b0ef8f86ac6f329a8c2276 |
|
MD5 | 7023c0a020b4875e926ed15d12918c79 |
|
BLAKE2b-256 | d199d88bf2686ff68c9553679904f5e4dd0a414c3d0faaa7a670ce491657a31d |