Skip to main content

Package to extract data from z-info (historian)

Project description

This package contains a client to make a data request from the z-info API.

To create a client you need a json file with the following parameters:

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.\

You then need to specify the file name to create a client.
With this client you can use the method run to make a request based on your parameters.
If you create a client without a parameters file, it will generate a template which you can then fill in and supply using the function set_parameters("name of your parameter file")

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

zinfoexport-0.2.6.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zinfoexport-0.2.6-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file zinfoexport-0.2.6.tar.gz.

File metadata

  • Download URL: zinfoexport-0.2.6.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for zinfoexport-0.2.6.tar.gz
Algorithm Hash digest
SHA256 bf870042c72e66eefd781a3079b329b3b85d4da346c6a427d41eda445cf078d5
MD5 6746db19c3074dd5db10445371c17f10
BLAKE2b-256 410ed753e95380f0dfe975d6af3e119981b1f7ad5d3bf211cd3270c75f32fe43

See more details on using hashes here.

File details

Details for the file zinfoexport-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: zinfoexport-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for zinfoexport-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 73f436eceab075d32f4769a11ff0028aa5b8a3428ac3e6e56119a2da38359e52
MD5 4f61a732e8398cc5f0c418a6b9528b77
BLAKE2b-256 ea5df22638ff95d9564b5bf1ed586c9bc4b81451654d94f293b3cf73c056ed39

See more details on using hashes here.

Supported by

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