IBM Internet of Things Foundation for Python
Python module for interacting with the IBM Internet of Things Foundation.
Note: Support for MQTT over SSL requires at least Python v2.7.9 or v3.4, and openssl v1.0.1
Dependencies
Installation
Install the latest version of the library with pip
[root@localhost ~]# pip install ibmiotf
Uninstall
Uninstalling the module is simple.
[root@localhost ~]# pip uninstall ibmiotf
Migrating from v0.1.x to v0.2.x
There is a significant change between the 0.1.x releases and 0.2.x that may require changes to client code. Version 0.1 of the lirbary will remain available, if you do not wish to update your device or application code for the 0.2 release simply install the library using pip install ibmiotf==0.1.8
The library now uses typeId, deviceId, and eventId consistently
Changes to API support:
Mixed use of queryParameters & parameters consolidated to always use parameters
retrieveDevices() & getAllDevices() removed. Single getDevices() method remains
addMultipleDevices renamed to registerDevices() for consistency with registerDevice() method
getAllDeviceTypes() renamed to getDeviceTypes() for consistency with other getResourceTypePlural methods
IoTFCReSTException now APIException
getDeviceConnectionLogs() renamed getConnectionLogs & restructured to support parameters object instead of deviceTypeId and deviceId
As of v0.2.1 the application client only requires two properties to be passed in options: auth-token and auth-key, orgId and auth-method are now determined from the API key provided.
Documentation
Release files for ibmiotf 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ibmiotf-0.2.1.zip | 51.1 kB | Details |
Release files / ibmiotf-0.2.1.zip
| Download URL | ibmiotf-0.2.1.zip |
|---|---|
| Size | 51.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
330fca8e9b98f85620f0fa09e6e4b36deca92c14d34ace1bd586bcfe7391da3a
|
|
BLAKE2b-256 checksum How to use checksums |
f2a1d9ef9bbf9ea6e4785cc532c7ddf9216061919eab336e32ebdce12dd5aafa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |