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.

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.1.3.tar.gz (4.1 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.1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zinfoexport-0.1.3.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

Hashes for zinfoexport-0.1.3.tar.gz
Algorithm Hash digest
SHA256 84203c9f12dce2914acb2fde6b481ccd8fdedbb60f740277c96e3d470c751c14
MD5 779a1c5fb96350bb5a1c47f26a4126cd
BLAKE2b-256 cf907df2e861e19e221bc22eba79d2f8f46b6bad58c8743e88b1b789b8750c09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zinfoexport-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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

Hashes for zinfoexport-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 817f63e6145b41c2a61cda3559104ebfc277d1c5ea17a788678088120cbc92d6
MD5 52f5f54bb19737b7e4a2a67aaceae046
BLAKE2b-256 d006af8e4fe6a2907ce19903b512ef2b9808e28e42a1c69ba4ccf97eb53d9325

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