cumulocity-python-api

所属分类:物联网
开发工具:Python
文件大小:192KB
下载次数:0
上传日期:2023-05-25 06:22:04
上 传 者sh-1993
说明:  Cumulocity REST API的Python客户端。由全球能力中心物联网创建
(Python client for the Cumulocity REST API. Created by Global Competency Center IoT)

文件列表:
CHANGELOG.md (6722, 2023-08-03)
LICENSE (11357, 2023-08-03)
c8y_api (0, 2023-08-03)
c8y_api\__init__.py (478, 2023-08-03)
c8y_api\_auth.py (5740, 2023-08-03)
c8y_api\_base_api.py (17106, 2023-08-03)
c8y_api\_jwt.py (1751, 2023-08-03)
c8y_api\_main_api.py (5262, 2023-08-03)
c8y_api\_registry_api.py (6467, 2023-08-03)
c8y_api\_util.py (641, 2023-08-03)
c8y_api\app (0, 2023-08-03)
c8y_api\app\__init__.py (11031, 2023-08-03)
c8y_api\model (0, 2023-08-03)
c8y_api\model\__init__.py (1703, 2023-08-03)
c8y_api\model\_base.py (21589, 2023-08-03)
c8y_api\model\_parser.py (4476, 2023-08-03)
c8y_api\model\_util.py (2326, 2023-08-03)
c8y_api\model\administration.py (38043, 2023-08-03)
c8y_api\model\alarms.py (19945, 2023-08-03)
c8y_api\model\applications.py (14713, 2023-08-03)
c8y_api\model\audit.py (9445, 2023-08-03)
c8y_api\model\binaries.py (6117, 2023-08-03)
c8y_api\model\events.py (17823, 2023-08-03)
c8y_api\model\identity.py (7405, 2023-08-03)
c8y_api\model\inventory.py (17926, 2023-08-03)
c8y_api\model\managedobjects.py (22887, 2023-08-03)
c8y_api\model\measurements.py (22529, 2023-08-03)
c8y_api\model\notification2.py (10480, 2023-08-03)
c8y_api\model\operations.py (18792, 2023-08-03)
c8y_api\model\tenant_options.py (9914, 2023-08-03)
c8y_tk (0, 2023-08-03)
c8y_tk\__init__.py (326, 2023-08-03)
... ...

![GitHub](https://img.shields.io/github/license/SoftwareAG/cumulocity-python-api) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/SoftwareAG/cumulocity-python-api) ![GitHub Release Date](https://img.shields.io/github/release-date/SoftwareAG/cumulocity-python-api) # cumulocity-python-api This project is a Python client for the Cumulocity REST API to make it easier to develop programs, scripts, device agents or microservices in Python. ## Installation ### Prerequisites Before installing the module (or any module for that matter) consider creating a virtual environment for your project. This is generally preferred over installing modules and dependencies globally: ```shell cd python3 -m venv venv source venv/bin/activate ``` ### Installation from PyPI The recommended way is to install the lastest distribution package directly from the Python Package Index (PyPI). You can either add _c8y_api_ as a dependency to your project using _setup.cfg_, or install it manually: ```shell pip install c8y_api ``` ### Installation using pip Releases are also archived within the GitHub releases page. The module is released as standard Python wheel (_.whl_ file). It can be ownloaded and installed using pip using the following command: ```shell pip install ``` Like installing from PyPI, this will install all necessary dependencies automatically. For your reference, the module's dependencies are also listed in file _requirements.txt_. ### Manual installation Alternatively, you can clone the repository. The module sources can be used directly within your Python 3 project. Simply copy the _c8y_api_ folder to your sources root and install the requirements by running the following command: ```shell pip3 install -r requirements.txt ``` The _requirements.txt_ file is part of the sources. If the _c8y_api_ folder is in your sources root folder all imports should work right away. Alternatively you can add _c8y_api_ to your _PYHTONPATH_: ```shell export PYTHONPATH=/c8y_api; $PYTHONPATH ``` ## Licensing This project is licensed under the Apache 2.0 license - see ______________________ These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project. ______________________ You can find additional information in the [Software AG TECHcommunity](https://tech.forums.softwareag.com/tag/Cumulocity-IoT). There is also a introductory article ([Getting started with the Cumulocity Python API](https://tech.forums.softwareag.com/t/getting-started-with-the-cumulocity-python-api/2***700)) available. Contact us at [TECHcommunity](mailto:technologycommunity@softwareag.com?subject=Github/SoftwareAG) if you have any questions.

近期下载者

相关文件


收藏者