Skip to main content

package voor ophalen waterstand

Project description

waterstand

Ophalen van de actuele waterstand.

Gegevens komen van Rijkswaterstaat.

Gebruik

Installeer de package:
pip install waterstand

Of zet waterstand in requirements.txt en installeer het op die manier.
pip install -r requirements.txt --upgrade

Ga naar de site van RWS en zoek daar een locatie waarvan je hoogte wilt ophalen. Wanneer je de locatie aanklikt en op meer details klikt, verschijnt in de adresbalk de naam van deze locatie. Bijvoorbeeld voor Lobith staat er ...waterhoogte/lobith.bovenrijn.tolkamer/details... in het pad. Neem het voor de locatie het deel tussen de waterhoogte/ en /details. In het voorbeeld wordt dat dus lobith.bovenrijn.tolkamer. Het meest eenvoudige programma wordt dan als volgt:

from waterstand import *
print(haalwaterstand('lobith.bovenrijn.tolkamer'))

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

waterstand-3.0.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

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

waterstand-3.0.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file waterstand-3.0.0.tar.gz.

File metadata

  • Download URL: waterstand-3.0.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for waterstand-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5c2f7abb1899aa792cc08d511fc4c7d773a599c20889d82d25e2ee1a134f0763
MD5 d144cbca0db1d8e63b57762711ae2ef5
BLAKE2b-256 e3f484fa6f32de951b047d943a3191f5db82ef9ae9942488f2bf10a6d986034c

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterstand-3.0.0.tar.gz:

Publisher: release.yaml on vdriet/waterstand

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file waterstand-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: waterstand-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for waterstand-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 396ced7f393e1535de6848de696345039e40e54bd3e6e9f2525cc3eebc2cba01
MD5 f84a8530bdfb6be75b9ed00b37a9a218
BLAKE2b-256 cddccf806f39b7070e56ecc2ba331d475e8123c0423ecd4dcbd844f807a1e3de

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterstand-3.0.0-py3-none-any.whl:

Publisher: release.yaml on vdriet/waterstand

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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