Python library to ease access to open weather data
Project description
Welcome to wetterdienst, your friendly weather service library for Python from the neighbourhood! We are an group of people, who try to make access to weather data in Python feel like a warm summer breeze, similar to other projects like rdwd , which originally drew our interest in this project. As we reach to provide you with data from multiple weather services, we are still stuck with this one weather service from Germany, that has questioned our believe in humanity. But we think we are at good condition to make further progress to soon fully cover the German weather service, right after finishing this documentation. But now it’s up to you to take a closer look at what we did here.
CAUTION Although the data is specified as being open, the DWD asks you to reference them as Copyright owner. To check out further, take a look at Open Data at the DWD and the Official Copyright
The full documentation of wetterdienst is available at: https://wetterdienst.readthedocs.io/en/latest/
To keep you updated about added features etc. we provide a Changelog . Furthermore to get insight on which data we have made available the section Data Coverage may be of special interest for you.
Getting started
Run the following
pip install wetterdienst
to make wetterdienst available in your current environment. To get some historical observed station data call
from wetterdienst import collect_dwd_data
from wetterdienst import Parameter, PeriodType, TimeResolution
station_data = collect_dwd_data(
station_ids=[1048],
parameter=Parameter.CLIMATE_SUMMARY,
time_resolution=TimeResolution.DAILY,
period_type=PeriodType.HISTORICAL
)
For other examples and functionality such getting metadata, running the library in a Docker image and a client take a look at the API section, which will be constantly updated with new functions. Also don’t miss out our examples .
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
Hashes for wetterdienst-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a813e77a6a78e5c7834ea662797a8882219d69a62a8767b44456c3843f5b3f6f |
|
MD5 | 6c492a800c6190b04a7a1f597bcf3480 |
|
BLAKE2b-256 | 174f921d3cc34147d026c35ff0dcc1775e7a8eb15afe25c77cedc2cbbad40f13 |