An open API service indexing awesome lists of open source software.

https://github.com/ibm-watson-iot/iot-python

Python Package and samples for connecting to Maximo IoT and IBM Watson IoT Platform
https://github.com/ibm-watson-iot/iot-python

iot python sdk

Last synced: 5 months ago
JSON representation

Python Package and samples for connecting to Maximo IoT and IBM Watson IoT Platform

Awesome Lists containing this project

README

          

Python for IBM Watson IoT Platform
===============================================================================

[![GitHub issues](https://img.shields.io/github/issues/ibm-watson-iot/iot-python.svg)](https://github.com/ibm-watson-iot/iot-python/issues)
[![GitHub](https://img.shields.io/github/license/ibm-watson-iot/iot-python.svg)](https://github.com/ibm-watson-iot/iot-python/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/wiotp-sdk.svg)](https://pypi.org/project/wiotp-sdk/)
![Project Status](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11-blue)
[![Downloads](https://pepy.tech/badge/ibmiotf)](https://pepy.tech/project/ibmiotf)
[![Downloads](https://pepy.tech/badge/wiotp-sdk)](https://pepy.tech/project/wiotp-sdk)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Python module for interacting with **Maximo IoT** and **[IBM Watson IoT Platform](https://internetofthings.ibmcloud.com)**

- Python 3.11
- Python 3.10
- Python 3.9

Product Withdrawal Notice
-------------------------------------------------------------------------------
Per the September 8, 2020 [announcement](https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&appname=iSource&supplier=897&letternum=ENUS920-136#rprodnx) IBM Watson IoT Platform (5900-A0N) has been withdrawn from marketing effective **December 9, 2020**. As a result, updates to this project will be limited.

Dependencies
-------------------------------------------------------------------------------
- [paho-mqtt](https://pypi.python.org/pypi/paho-mqtt)
- [iso8601](https://pypi.python.org/pypi/iso8601)
- [pytz](https://pypi.python.org/pypi/pytz)
- [requests](https://pypi.python.org/pypi/requests)

Installation
-------------------------------------------------------------------------------
Install the [latest version](https://pypi.org/project/wiotp-sdk/) of the library with pip

```
# pip install wiotp-sdk
```

Uninstall
-------------------------------------------------------------------------------
Uninstalling the module is simple.

```
# pip uninstall wiotp-sdk
```

Documentation
-------------------------------------------------------------------------------
https://ibm-watson-iot.github.io/iot-python/

Supported Features
-------------------------------------------------------------------------------
- **Device Connectivity**: Connect your device(s) to Watson IoT Platform with ease using this library
- **Gateway Connectivity**: Connect your gateway(s) to Watson IoT Platform with ease using this library
- **Application connectivity**: Connect your application(s) to Watson IoT Platform with ease using this library
- **Watson IoT API**: Support for the interacting with the Watson IoT Platform through REST APIs
- **SSL/TLS**: By default, this library connects your devices, gateways and applications securely to Watson IoT Platform registered service. Ports `8883` (default) and `443` support secure connections using TLS with the MQTT and HTTP protocol. Support for MQTT with TLS requires at least Python v2.7.9 or v3.5, and openssl v1.0.1
- **Device Management for Device**: Connects your device(s) as managed device(s) to Watson IoT Platform.
- **Device Management for Gateway**: Connects your gateway(s) as managed device(s) to Watson IoT Platform.
- **Device Management Extensions**: Provides support for custom device management actions.
- **Scalable Applications**: Supports load balancing of MQTT subscriptions over multiple application instances.
- **Auto Reconnect**: All clients support automatic reconnect to the Platform in the event of a network interruption.
- **Websockets**: Support device/gateway/application connectivity to Watson IoT Platform using WebSocket