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.0.tar.gz (23.9 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.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: waterstand-1.3.0.tar.gz
  • Upload date:
  • Size: 23.9 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.0.tar.gz
Algorithm Hash digest
SHA256 44e241724908e8845a020aeab1e3adea27deb2ba7aaa1d374cd10148f83c31f6
MD5 57260cda0af0762ca3ab27372da33b81
BLAKE2b-256 3ad17279d6665850373b36d7672553b96b485efc7e066996e0d8473f0eed0231

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: waterstand-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f3a2d5e20427a558efc184d767e75a3f4c3ae39c6b5d8dfaa10e3a66e68be4f
MD5 72b41de216ed6a6996a0a81af633767e
BLAKE2b-256 0507453d2777aa7a92fd7afb22d4b4dab4a60e5be0b1e32a2152ab20d935b013

See more details on using hashes here.

Provenance

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