dino-0.0.6
توضیحات
A python API client for Dino monitoring service
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dino-0.0.6 |
| نام | dino |
| نسخه کتابخانه | 0.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | EnergieID |
| ایمیل نویسنده | jan@energieid.be |
| آدرس صفحه اصلی | https://github.com/EnergieID/dino |
| آدرس اینترنتی | https://pypi.org/project/dino/ |
| مجوز | MIT |
# Dino
## Python API client for Dino Energy Monitor
### Installation
`python3 -m pip install dino`
### Usage
```python
import pandas as pd
start = pd.Timestamp('20181001', tz='Europe/Rome')
end = pd.Timestamp('20181009', tz='Europe/Rome')
```
#### Get raw data from JSON as a Python dictionary
```python
from dino import RawDinoClient
client = RawDinoClient(client_id, client_secret, username, serial)
client.get_data(start, end)
```
#### Get data as Pandas DataFrame
```python
from dino import PandasDinoClient
client = PandasDinoClient(client_id, client_secret, username, serial)
client.get_data(start, end)
# filter specific columns
client.get_data(start, end, columns=['E0', 'E1'])
```
نحوه نصب
نصب پکیج whl dino-0.0.6:
pip install dino-0.0.6.whl
نصب پکیج tar.gz dino-0.0.6:
pip install dino-0.0.6.tar.gz