tb-rest-client


Nametb-rest-client JSON
Version 3.6.3 PyPI version JSON
download
home_pagehttps://thingsboard.io/docs/reference/python-rest-client/
SummaryThingsBoard REST API client
upload_time2024-03-27 13:53:43
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseApache Software License (Apache Software License 2.0)
keywords iot thingsboard thingsboard rest api client
VCS
bugtrack_url
requirements certifi six python_dateutil setuptools urllib3 requests pyjwt
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ThingsBoard Python REST API client


The ThingsBoard REST API Client helps you interact with [ThingsBoard REST API](https://thingsboard.io/docs/reference/rest-api/) from your Python script.  
With [Python Rest Client](https://thingsboard.io/docs/reference/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:

```bash
pip3 install tb-rest-client
``` 


##### Examples 

You can find the examples of the usage in the "examples" folder or on the [our website](https://thingsboard.io/docs/reference/python-rest-client/).


**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

 - [Community chat](https://gitter.im/thingsboard/chat)
 - [Q&A forum](https://groups.google.com/forum/#!forum/thingsboard)
 - [Stackoverflow](http://stackoverflow.com/questions/tagged/thingsboard)
 
**Don't forget to star the repository to show your ❤️ and support.**


## Licenses

This project is released under [Apache 2.0 License](./LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://thingsboard.io/docs/reference/python-rest-client/",
    "name": "tb-rest-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "IoT, ThingsBoard, ThingsBoard REST API client",
    "author": null,
    "author_email": "info@thingsboard.io",
    "download_url": "https://files.pythonhosted.org/packages/21/c1/cb0f59b9353421d8cb99cc44048c47f5ac0064f8b291fc69712c92ff7e64/tb-rest-client-3.6.3.tar.gz",
    "platform": null,
    "description": "# ThingsBoard Python REST API client\n\n\nThe ThingsBoard REST API Client helps you interact with [ThingsBoard REST API](https://thingsboard.io/docs/reference/rest-api/) from your Python script.  \nWith [Python Rest Client](https://thingsboard.io/docs/reference/python-rest-client/) you can programmatically create assets, devices, customers, users and other entities and their relations in ThingsBoard.\n\nThe recommended method for installing the Rest Client is a pip.  \n\n*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.*\n\n\n##### Installation \n\nIn order to install the ThingsBoard REST client, you should use the following command:\n\n```bash\npip3 install tb-rest-client\n``` \n\n\n##### Examples \n\nYou can find the examples of the usage in the \"examples\" folder or on the [our website](https://thingsboard.io/docs/reference/python-rest-client/).\n\n\n**Note:** There are 2 REST clients for ThingsBoard, they are depend on version of the ThingsBoard, you use.  \n\n - If you use the ThingsBoard Community Edition (ThingsBoard CE) - please use the following command to import the REST client into your script:  \n   `from tb_rest_client.rest_client_ce import *`  \n   The REST client class has name \"RestClientCE\".  \n   \n - If you use the ThingsBoard Professional Edition (ThingsBoard PE) - please use the following command to import the REST client into your script:  \n   `from tb_rest_client.rest_client_pe import *`  \n   The REST client class has name \"RestClientPE\".  \n\nIf you use the wrong version of the REST client, it could work unexpectedly.\n\n\n## Support\n\n - [Community chat](https://gitter.im/thingsboard/chat)\n - [Q&A forum](https://groups.google.com/forum/#!forum/thingsboard)\n - [Stackoverflow](http://stackoverflow.com/questions/tagged/thingsboard)\n \n**Don't forget to star the repository to show your \u2764\ufe0f and support.**\n\n\n## Licenses\n\nThis project is released under [Apache 2.0 License](./LICENSE).\n",
    "bugtrack_url": null,
    "license": "Apache Software License (Apache Software License 2.0)",
    "summary": "ThingsBoard REST API client",
    "version": "3.6.3",
    "project_urls": {
        "Download": "https://github.com/thingsboard/thingsboard-python-rest-client/archive/refs/tags/3.6.3.tar.gz",
        "Homepage": "https://thingsboard.io/docs/reference/python-rest-client/"
    },
    "split_keywords": [
        "iot",
        " thingsboard",
        " thingsboard rest api client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21c1cb0f59b9353421d8cb99cc44048c47f5ac0064f8b291fc69712c92ff7e64",
                "md5": "67a9f780684afe86c675dc307a4f07cd",
                "sha256": "4676abef79924fea81adefb238bd2930a2458e43e17aef3f622df58055c8d7a6"
            },
            "downloads": -1,
            "filename": "tb-rest-client-3.6.3.tar.gz",
            "has_sig": false,
            "md5_digest": "67a9f780684afe86c675dc307a4f07cd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 914569,
            "upload_time": "2024-03-27T13:53:43",
            "upload_time_iso_8601": "2024-03-27T13:53:43.273247Z",
            "url": "https://files.pythonhosted.org/packages/21/c1/cb0f59b9353421d8cb99cc44048c47f5ac0064f8b291fc69712c92ff7e64/tb-rest-client-3.6.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 13:53:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "thingsboard",
    "github_project": "thingsboard-python-rest-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "certifi",
            "specs": [
                [
                    ">=",
                    "2017.4.17"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    ">=",
                    "1.10"
                ]
            ]
        },
        {
            "name": "python_dateutil",
            "specs": [
                [
                    ">=",
                    "2.5.3"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    ">=",
                    "21.0.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    ">=",
                    "1.23"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.29.0"
                ]
            ]
        },
        {
            "name": "pyjwt",
            "specs": [
                [
                    "==",
                    "2.6.0"
                ]
            ]
        }
    ],
    "lcname": "tb-rest-client"
}
        
Elapsed time: 0.22622s