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 en afkorting van deze locatie. Bijvoorbeeld voor Lobith staat er ...waterhoogte/Lobith%28LOBI%29/details... in het pad. Neem het voor de naam het deel tussen de hoogte/ en %28 en voor de afkorting het deel tussen %28 en %29. In het voorbeeld wordt dat dus Lobith en LOBI. Het meest eenvoudige programma wordt dan als volgt:

from waterstand import *
print(haalwaterstand('Lobith', 'LOBI'))

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-1.3.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for waterstand-1.3.1.tar.gz
Algorithm Hash digest
SHA256 503d699fe8219f3c0a0f46e824403c12ec12b9c248b0ab2a058c2d2e70eddb5e
MD5 7c6added2f93334c68c1b922050c9e22
BLAKE2b-256 9ca2b8b354f8b2dca22d3f874bd704e307e553ee6c1048778679aa0877f76f82

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterstand-1.3.1.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-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: waterstand-1.3.1-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.12.9

File hashes

Hashes for waterstand-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c79f4ef330ac85943521fed709070cfcae92af5bf5cf80494c301e1142e643e
MD5 7fd96aa91142f2c799db5f87b1db2e94
BLAKE2b-256 10f6ebf14e3a6c8b770905c7a11e62d9272bbec9bb8599e279b0409a358c1966

See more details on using hashes here.

Provenance

The following attestation bundles were made for waterstand-1.3.1-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