Skip to main content

ThingsBoard REST API client

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tb_rest_client_fork-3.9.2.tar.gz (924.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tb_rest_client_fork-3.9.2-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file tb_rest_client_fork-3.9.2.tar.gz.

File metadata

  • Download URL: tb_rest_client_fork-3.9.2.tar.gz
  • Upload date:
  • Size: 924.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.1

File hashes

Hashes for tb_rest_client_fork-3.9.2.tar.gz
Algorithm Hash digest
SHA256 11768c83807ff24ba69c29293f839ae7760d7e8392e610dcd061bf12088cbcc4
MD5 f72917829de3f8a9e0f8d828c1f42a70
BLAKE2b-256 d32510081916c74a7bf36766607c859521a8bf4ce58df4c84ac69b561ad9b3bb

See more details on using hashes here.

File details

Details for the file tb_rest_client_fork-3.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for tb_rest_client_fork-3.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d182d5b9d835ded26e3568b5b4b173a6412f82ce9b1a27ef2f94aebdea426d17
MD5 946480814b85db73737be2746a26a3be
BLAKE2b-256 3aec1baadef7e9c0cba8207d920f79e4bbdd83464a72852ee4aba8edbbaa06de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page