All Projects → PelionIoT → mbed-cloud-sdk-python

PelionIoT / mbed-cloud-sdk-python

Licence: Apache-2.0 license
Pelion Device Management SDK for Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to mbed-cloud-sdk-python

mbed-cloud-client
Pelion Device Management Client library
Stars: ✭ 38 (+192.31%)
Mutual labels:  device-management, pelion
ant-arduino
An implementation of a ANT driver for Arduino, Mbed and ESP-IDF
Stars: ✭ 69 (+430.77%)
Mutual labels:  mbed
MySQL MariaDB Generic
This MySQL_MariaDB_Generic library helps you connect your boards directly to a MySQL / MariaDB server, either local or cloud-based, so that you can store / retrieve data to / from the server. Supported boards are ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, P…
Stars: ✭ 35 (+169.23%)
Mutual labels:  mbed
MDNS Generic
mDNS Library for nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, AVR Mega, RP2040-based boards, etc. using Ethernet W5x00. Supports mDNS (Registering Services) and DNS-SD (Service Discovery). Ethernet_Generic library is used as default for W5x00
Stars: ✭ 22 (+69.23%)
Mutual labels:  mbed
dmidecode
纯Golang实现的dmidecode, 零依赖, 支持Linux, Unix, Windows
Stars: ✭ 83 (+538.46%)
Mutual labels:  device-management
hmdm-android
Mobile Device Management (MDM) System for Android (mobile agent - launcher). Used for silent app installation and sending the info to the server. See more info on the website!
Stars: ✭ 74 (+469.23%)
Mutual labels:  device-management
DevLibs
This repo contains libraries for random electronic modules - created by me for different platforms and devices; Written mostly in C or C++, what allows to easily port them to different platform
Stars: ✭ 14 (+7.69%)
Mutual labels:  mbed
platform-nordicnrf52
Nordic nRF52: development platform for PlatformIO
Stars: ✭ 82 (+530.77%)
Mutual labels:  mbed
mbed-tools
⚠️ Beta Status: New command line tooling for Mbed OS
Stars: ✭ 40 (+207.69%)
Mutual labels:  mbed
UPnP Generic
A simple library that implements port mappings to router using UPnP SSDP for Arduino boards, running on nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based boards, WT32_ETH01, Portenta_H7, etc. besides ESP8266/ESP32, using ESP WiFi, WiFiNINA, Ethernet W5x00, ESP8266/ESP32 AT-command WiFi, Portenta_H7 Murata WiFi or Vision-shield Ethe…
Stars: ✭ 14 (+7.69%)
Mutual labels:  mbed
Platformio Core
PlatformIO is a professional collaborative platform for embedded development 👽 A place where Developers and Teams have true Freedom! No more vendor lock-in!
Stars: ✭ 5,539 (+42507.69%)
Mutual labels:  mbed
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+25323.08%)
Mutual labels:  mbed
platform-nordicnrf51
Nordic nRF51: development platform for PlatformIO
Stars: ✭ 19 (+46.15%)
Mutual labels:  mbed
Cicada-FW
IoT Communications Module for Energy Access. An easy way to get production ready, bi-directional communications for your IoT embedded device. Proiect supported by the EnAccess Foundation - https://enaccess.org
Stars: ✭ 12 (-7.69%)
Mutual labels:  mbed
vscode-iot-utility
IoT Utility for Visual Studio Code: Arduino, Espressif, Raspberry Pi, mbed and more
Stars: ✭ 61 (+369.23%)
Mutual labels:  mbed
pxt-minode
mi:node kit(micro:bit IoT Starter Kit by element14) driver package for PXT/microbit
Stars: ✭ 25 (+92.31%)
Mutual labels:  mbed
Kubeedge
Kubernetes Native Edge Computing Framework (project under CNCF)
Stars: ✭ 4,582 (+35146.15%)
Mutual labels:  device-management
mbed-os-example-pelion
Mbed OS example for Pelion Device Management
Stars: ✭ 13 (+0%)
Mutual labels:  pelion

Pelion Device Management SDK for Python


Due to a redirected focus onto future development of the Pelion Device Management APIs, this SDK Is no longer actively supported and there is no commitment for future maintenance releases.

The open source project and corresponding packages for this SDK remain publicly available.

Existing applications developed using the SDK will continue to operate against existing Pelion Device Management REST APIs (assuming that those APIs are not subject to the deprecation process for commercial customers). New APIs supported by Pelion Device Management will only be available through the REST APIs.

It is recommended that for ongoing development, applications which previously used the SDK should be migrated over time to access the Pelion Device Management REST APIs directly.

Please see this page, which provides additional information on using the REST APIs. By following this guide, you will learn how to build a web application using the REST APIs directly.


The mbed-cloud-sdk gives developers access to Pelion Device Management API using Python.

https://img.shields.io/circleci/project/github/ARMmbed/mbed-cloud-sdk-python/master.svg?label=circleci

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:

  1. Create a configuration file .env in your $HOME or project directory, and add your API key from the portal:

    MBED_CLOUD_SDK_API_KEY="your_api_key_here"
  2. Import the library and you're ready to go.

    from mbed_cloud.foundation import Device
    
    # List the first 10 devices on your Pelion Device Management account.
    for device in Device().list(max_results=10):
        print("Hello device %s" % device.name)

Documentation and examples

The SDK guide and examples are available at GitHub.

The documentation contains many examples covering various Use Cases that you may have. In each case you can compare the python implementation with alternatives in languages supported by the other Pelion Device Management SDKs.

Contributing

The Pelion Device Management SDK for Python is open source and we would like your help; there is a brief guide on how to get started in CONTRIBUTING.md.

Licence

The Pelion Device Management SDK for Python is free to use and is licensed under the Apache License 2.0. See LICENCE for more information.

Versioning

The current version scheme used by the SDK follows PEP440:

<SDK major>.<SDK minor>.<SDK patch>

Troubleshooting

Suggestions for issues that have been reported when using the SDK.

  • SSL version / SSLV3_ALERT_HANDSHAKE_FAILURE
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.mbedcloud.com', port=443):
    Max retries exceeded with url: /v3/firmware-images/
    (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),))

    This probably means the Python interpreter being used has an old version of SSL. The recommended minimum version for the SDK is 1.0.2, however security best practice is to use the latest available version of SSL, which can be found here: https://www.openssl.org. It is recommended to upgrade/rebuild the Python interpreter with the latest available SSL library. The SSL version currently in use by the Python interpreter can be found using python -c "import ssl; print(ssl.OPENSSL_VERSION)"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].