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
- Host: GitHub
- URL: https://github.com/ibm-watson-iot/iot-python
- Owner: ibm-watson-iot
- License: epl-1.0
- Created: 2014-04-16T14:07:36.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:25:50.000Z (over 1 year ago)
- Last Synced: 2026-01-14T09:30:42.809Z (5 months ago)
- Topics: iot, python, sdk
- Language: Python
- Homepage: http://ibm-watson-iot.github.io/iot-python/
- Size: 5.2 MB
- Stars: 186
- Watchers: 60
- Forks: 160
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Python for IBM Watson IoT Platform
===============================================================================
[](https://github.com/ibm-watson-iot/iot-python/issues)
[](https://github.com/ibm-watson-iot/iot-python/blob/master/LICENSE)
[](https://pypi.org/project/wiotp-sdk/)

[](https://pepy.tech/project/ibmiotf)
[](https://pepy.tech/project/wiotp-sdk)
[](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