comotion-sdk-0.0.9
توضیحات
SDK for interacting with the Comotion APIs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | comotion-sdk-0.0.9 |
| نام | comotion-sdk |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Comotion |
| ایمیل نویسنده | tim@comotion.us |
| آدرس صفحه اصلی | https://github.com/ComotionLabs/comotion-sdk |
| آدرس اینترنتی | https://pypi.org/project/comotion-sdk/ |
| مجوز | - |
# comotion-sdk
comotion-sdk is the python SDK for interacting with the Comotion APIs. Initial support is limited to Dash, but may expand in future.
# Documentation
Documentation for this module can be found [here](https://comotionlabs.github.io/comotion-sdk/).
# Contributing
In order to contribute to this project, fork this repo and submit a pull request to this project
In order to set up a local environment, pull this repo and install.
`pipenv` is used to manage dependencies on this project. in order to use it, ensure that pipenv is installed.
```
pip install --upgrade pip
pip install pipenv
```
And then enter the virtual environment for this project that will automatically ensure all dependencies are available
```
pipenv install -e .
pipenv shell
```
## Adding modules
Ensure dependencies are also added to setup.py in the `install_requires` section. Then run
```
pipenv install -e .
```
Ensure you understand pipenv when [installing new libraries] (https://pipenv.pypa.io/en/latest/install/#installing-packages-for-your-project).
## running tests
To run tests
```
pipenv install --deploy --dev
pipenv run test -v
```
## Building docs
Run the following from the docs directly. Ensure to watch out for warnings.
`
make html
`
## Rerunning code generator
We use OpenApi generator to generate the python.
The requirements for this are a swagger file that can be gotten from WHERE?
The latest swagger file is stored in openapi_generator/comodash_api_swagger.json
Download latest [jar of OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator#13---download-jar)
`
java -jar \
./openapi_generator/openapi-generator-cli-5.2.1.jar generate \
-i ./openapi_generator/comodash_api_swagger.yaml\
-g python \
--package-name comodash_api_client_lowlevel \
--api-package comodash_api \
--additional-properties generateSourceCodeOnly=True,library=asyncio \
-o ./src/
`
نیازمندی
| مقدار | نام |
|---|---|
| >=2.25.0 | requests |
| >=1.2.0 | pandas |
| >=8.0.3 | click |
| >=23.2.1 | keyring |
| - | pyjwt |
| >=1.25.3 | urllib3 |
| >=8.3.0 | cx-Oracle |
| >=1.4.36 | sqlalchemy |
| >=4.64.0 | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl comotion-sdk-0.0.9:
pip install comotion-sdk-0.0.9.whl
نصب پکیج tar.gz comotion-sdk-0.0.9:
pip install comotion-sdk-0.0.9.tar.gz