claripy-sdk-1.0.9
توضیحات
Python SDK for use with Clarity.io sensors
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | claripy-sdk-1.0.9 |
| نام | claripy-sdk |
| نسخه کتابخانه | 1.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | hfritz@r-o.com |
| آدرس صفحه اصلی | https://github.com/rogers-obrien-rad/clarity-python-sdk |
| آدرس اینترنتی | https://pypi.org/project/claripy-sdk/ |
| مجوز | - |

[](https://github.com/rogers-obrien-rad/clarity-python-sdk/actions/workflows/tests.yml)
# Clarity.io Python SDK
SDK to access Clarity.io API resources
## Installation
The package is available on [PyPi](https://pypi.org/project/claripy-sdk/) so simple install with `pip`:
```bash
pip install claripy-sdk
```
## Usage
Please see the [Snippets](https://github.com/rogers-obrien-rad/clarity-python-sdk/tree/main/snippets) directory to see sample use cases. Below is the general use case:
```python
import os
from claripy.clarity import Clarity
connection = Clarity(os.getenv("API_KEY"))
latest_data_by_min = connection.__measurements__.get()
devices = connection.__devices__.get()
sources = connection.__datasources__.get()
```
To create a `Clarity` object, simply pass the API key as a parameter. You then have access to data from the three Clarity endpoints: measurements, devices, and datasources.
## Resources
* [Clarity.io](https://www.clarity.io/)
* [Clarity.io Dashboard](https://dashboard.clarity.io/overview)
* [Clarity.io API Documentation](https://api-guide.clarity.io/)
## License
This repository is licensed under the [Apache License](https://github.com/rogers-obrien-rad/clarity-python-sdk/blob/main/LICENSE)
## Contributing

نحوه نصب
نصب پکیج whl claripy-sdk-1.0.9:
pip install claripy-sdk-1.0.9.whl
نصب پکیج tar.gz claripy-sdk-1.0.9:
pip install claripy-sdk-1.0.9.tar.gz