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'))
Een PNG-afbeelding zoals hieronder kan gemaakt worden door een aanroep van maakafbeelding()
met dezelfde parameters als haalwaterstand().
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waterstand-1.4.2.tar.gz.
File metadata
- Download URL: waterstand-1.4.2.tar.gz
- Upload date:
- Size: 84.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d3fa4cd9cdb9f4216c4b56f68acc11a2bd04f4c553c0fa31a2ff05c9a9c973
|
|
| MD5 |
8e3334fcbcdb44858202a530dd983eca
|
|
| BLAKE2b-256 |
7768adc3359fc562a9ea4b64296e7181d0306248200c6697d07966241b7180f8
|
Provenance
The following attestation bundles were made for waterstand-1.4.2.tar.gz:
Publisher:
release.yaml on vdriet/waterstand
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waterstand-1.4.2.tar.gz -
Subject digest:
55d3fa4cd9cdb9f4216c4b56f68acc11a2bd04f4c553c0fa31a2ff05c9a9c973 - Sigstore transparency entry: 829272342
- Sigstore integration time:
-
Permalink:
vdriet/waterstand@8ef82d1a655f08f2c37a65f13cd180df7f36ec35 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/vdriet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@8ef82d1a655f08f2c37a65f13cd180df7f36ec35 -
Trigger Event:
release
-
Statement type:
File details
Details for the file waterstand-1.4.2-py3-none-any.whl.
File metadata
- Download URL: waterstand-1.4.2-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0abbc67260b8aaec669e6e5b68bf3ebbf33376998ead2fa00a6cb9079375dd9
|
|
| MD5 |
764890f7d97fb95ffe8f19ba40953df2
|
|
| BLAKE2b-256 |
512734b2efa6b80c53cc76f98a91858844d275a9dc494e10bec58dec10bbf93f
|
Provenance
The following attestation bundles were made for waterstand-1.4.2-py3-none-any.whl:
Publisher:
release.yaml on vdriet/waterstand
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
waterstand-1.4.2-py3-none-any.whl -
Subject digest:
c0abbc67260b8aaec669e6e5b68bf3ebbf33376998ead2fa00a6cb9079375dd9 - Sigstore transparency entry: 829272343
- Sigstore integration time:
-
Permalink:
vdriet/waterstand@8ef82d1a655f08f2c37a65f13cd180df7f36ec35 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/vdriet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@8ef82d1a655f08f2c37a65f13cd180df7f36ec35 -
Trigger Event:
release
-
Statement type: