Package to extract data from z-info (historian)
Project description
This package contains two functions to make a data request from the z-info API.
These are the functions and their uses:
create_json()
create a json file with parameter fields. This needs to be filled in to be able to make a request. It contains the following fields:
username: str This is your z-info username password: str This is your z-info password file_name: str Name for your export file file_format: str Can either be ".csv" or ".feather" input_file: str Name for your input csv. It is mandatory to have a header row with these three values: tagnr, name, wbm startdate: str Start date in YYYY-MM-DD format enddate: str End date in YYYY-MM-DD format periode: str time for which values will be aggregated. can be anything between 1-9 s/m/h (for example: 5m = 5 minutes) interval: str To avoid making requests for too long intervals this spilts the dates up in intervals. Default is 10 which works fine. waterschapnummer: str Waterschap specific number. spcid: str Waterschap specific spcid.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zinfoexport-0.1.tar.gz.
File metadata
- Download URL: zinfoexport-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f33299893be1316a76732689bae2cb78112db8bda4ef6f08227beb2eca8a15c
|
|
| MD5 |
ce2f82ca0a78b50a0ac8b4882f4825ef
|
|
| BLAKE2b-256 |
b5840094b6ad3acf981c511d6ba3e8bcee61e575220b5bd0e9d56f22865c67d4
|
File details
Details for the file zinfoexport-0.1-py3-none-any.whl.
File metadata
- Download URL: zinfoexport-0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
200a039eda3d1ab9deaa4cc2f29deeac6f77c0aacdfc4f3a22857d69b8989282
|
|
| MD5 |
239a189450caeccee30462951bf62111
|
|
| BLAKE2b-256 |
51186cea82e5fbb38ffeea305e1584ba4a12bf3747467e4fe4bcf632d2453de5
|