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.1.0.tar.gz (18.8 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.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: waterstand-1.1.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for waterstand-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5514d90fdddb35b3a72457cb5610f5dd2b4c6edbe7f1c7b469bba4f2cbdfae9b
MD5 545a2d7cc50553a1cdc2d643e0cc3511
BLAKE2b-256 3b1818f1b0852842be4d494f7ff4b0cbf24d0d8e6369cf9b426cbfbd82e05806

See more details on using hashes here.

File details

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

File metadata

  • Download URL: waterstand-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for waterstand-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9463184fe15a73e1ab705a9491fa7a29d0bf1b23cef9839da500ed3f8f948ff1
MD5 fb3635ad6312e0468d3cfbc7af784a43
BLAKE2b-256 f155c3113a2a1052a75493e1275045ce2240b19c0d6e1f119c4391f176dfe946

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