Skip to main content

A python API client for Dino monitoring service

Project description

# 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'])
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dino-0.0.6.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

dino-0.0.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file dino-0.0.6.tar.gz.

File metadata

  • Download URL: dino-0.0.6.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for dino-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f040b00796520ff92126f04e4df2d58560c39d8c27d96989637bef2653d0a1d0
MD5 6df7eed7478866d81033a22d9be7dceb
BLAKE2b-256 bddc00becaa266fac177e338a34f44ac6a231dd24d8b159a9f82fb979067a807

See more details on using hashes here.

File details

Details for the file dino-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: dino-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for dino-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c768ca26ea3094c9022d9c7e07ac8e99d07fd35f72cbe2257dd4e7f12a67dd
MD5 21175c98893af33ee3db0bb07b7d2ab5
BLAKE2b-256 10b96278a7c361a27a114cf36c80463597ed358f9a7214874227109701f1e77e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page