tb-rest-client-fork
This repository is forked version of original tb-rest-client project stored in github repository https://github.com/thingsboard/thingsboard-python-rest-client . The purpose of this fork is to make package dependencies (in version 3.9.0) not fixed to specific version as in the original package, but set to reflect the requirements.txt configuration (example: certifi >= 2023.7.22 instead of certifi == 2023.7.22 in the original package)
All credits to the authors of the original package.
Below follows the original readme
ThingsBoard Python REST API client
The ThingsBoard REST API Client helps you interact with ThingsBoard REST API from your Python script.
With Python Rest Client you can programmatically create assets, devices, customers, users and other entities and their relations in ThingsBoard.
The recommended method for installing the Rest Client is a pip.
The Python version of the REST API client is under developing. If you have discovered any bug, please write us using email or by opening the issue.
Installation
In order to install the ThingsBoard REST client, you should use the following command:
pip3 install tb-rest-client
Examples
You can find the examples of the usage in the "examples" folder or on the our website.
Note: There are 2 REST clients for ThingsBoard, they are depend on version of the ThingsBoard, you use.
-
If you use the ThingsBoard Community Edition (ThingsBoard CE) - please use the following command to import the REST client into your script:
from tb_rest_client.rest_client_ce import *
The REST client class has name "RestClientCE". -
If you use the ThingsBoard Professional Edition (ThingsBoard PE) - please use the following command to import the REST client into your script:
from tb_rest_client.rest_client_pe import *
The REST client class has name "RestClientPE".
If you use the wrong version of the REST client, it could work unexpectedly.
Support
Don't forget to star the repository to show your ❤️ and support.
Licenses
This project is released under Apache 2.0 License.
Metadata
Release files for tb-rest-client-fork 3.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tb_rest_client_fork-3.9.2.tar.gz | 924.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tb_rest_client_fork-3.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.5 MB
Release files / tb_rest_client_fork-3.9.2.tar.gz
| Download URL | tb_rest_client_fork-3.9.2.tar.gz |
|---|---|
| Size | 924.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11768c83807ff24ba69c29293f839ae7760d7e8392e610dcd061bf12088cbcc4
|
|
BLAKE2b-256 checksum How to use checksums |
d32510081916c74a7bf36766607c859521a8bf4ce58df4c84ac69b561ad9b3bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.1
|
Release files / tb_rest_client_fork-3.9.2-py3-none-any.whl
| Download URL | tb_rest_client_fork-3.9.2-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d182d5b9d835ded26e3568b5b4b173a6412f82ce9b1a27ef2f94aebdea426d17
|
|
BLAKE2b-256 checksum How to use checksums |
3aec1baadef7e9c0cba8207d920f79e4bbdd83464a72852ee4aba8edbbaa06de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.1
|