simple-dwd-weatherforecast
A simple tool to retrieve a weather forecast from DWD OpenData
Decision gist · record as of 2026-08-14
Yes. Active maintenance, low install friction, permissive license, no known vulnerabilities, and a focused feature set make this a reliable choice for German weather data. Install if you need DWD forecasts; the six dependencies are standard. The optional apparent-temperature extra is safe to skip if ecCodes is unavailable.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Datetime values must be in UTC.
- Optional apparent-temperature extra requires ecCodes runtime; core package works without it.
- Low install friction: pure Python wheel with no compiled dependencies.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive). No restrictions on use, modification, or redistribution in commercial or private projects.
last release 2026-08-06 (8 days) · last repo commit 2026-08-06 · 35 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 246,348 downloads/mo, #8,711 on PyPI
Alternatives
Verify before relying
from simple_dwd_weatherforecast import dwdforecast
from datetime import datetime, timezone
dwd_weather = dwdforecast.Weather("10385") # Berlin-Schoenefeld
time_now = datetime.now(timezone.utc)
temp = dwd_weather.get_forecast_data(dwdforecast.WeatherDataType.TEMPERATURE, time_now)- Whether the 37MB hourly data download (mentioned in docs) is a practical concern for typical use cases.
- Accuracy and latency of the get_nearest_station_id() geolocation method.
- Whether all WeatherDataType enum values are available at all stations or only some.
What it is and what it does
Simple-dwd-weatherforecast is a Python client for accessing Germany's Deutscher Wetterdienst (DWD) public weather data. It fetches hourly forecasts updated every six hours, covering the next 10 days, and exposes temperature, precipitation, wind, cloud coverage, visibility, and other meteorological variables. The package also retrieves reported (observed) weather where available, regional weather reports as HTML, UV index forecasts, and air quality measurements (nitrogen dioxide, ozone, PM10, PM2.5). Weather conditions are classified into nine human-readable categories (sunny, cloudy, rainy, snowy, etc.) by interpreting DWD's MOSMIX forecast codes.
The package is designed for simplicity: you instantiate a Weather object with a station ID, then call methods to fetch forecast or reported data for a given datetime. It handles data caching and automatic updates internally. An optional extra adds apparent ("felt") temperature parsing from GRIB2 files if the ecCodes runtime is available; the core package degrades gracefully without it. Station IDs can be looked up by coordinates or validated against a built-in list.
Use it for
- Home automation systems (e.g., Home Assistant) that need hourly weather forecasts to trigger rules or adjust settings.
- Weather display dashboards or mobile apps showing German regional forecasts with condition icons and multi-day trends.
- Air quality monitoring applications that correlate pollution levels with meteorological data from DWD stations.
- Agricultural or environmental monitoring that requires daily min/max/sum/average aggregates of temperature, precipitation, or wind.
- UV index alerts for outdoor activity planning over the next three days.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, low install friction, permissive license, no known vulnerabilities, and a focused feature set make this a reliable choice for German weather data. Install if you need DWD forecasts; the six dependencies are standard. The optional apparent-temperature extra is safe to skip if ecCodes is unavailable.
Install
simple-dwd-weatherforecast on PyPI
Before you install
Low install friction: pure Python wheel with no compiled dependencies. Active maintenance—last commit 2026-08-06, released 8 days ago. Six runtime dependencies (lxml, requests, Pillow, arrow, stream-unzip, httpx) are all common and well-maintained.
Datetime values must be in UTC. Optional apparent-temperature extra requires ecCodes runtime; core package works without it.
License in practice
MIT license (permissive). No restrictions on use, modification, or redistribution in commercial or private projects.
Quickstart
from simple_dwd_weatherforecast import dwdforecast
from datetime import datetime, timezone
dwd_weather = dwdforecast.Weather("10385") # Berlin-Schoenefeld
time_now = datetime.now(timezone.utc)
temp = dwd_weather.get_forecast_data(dwdforecast.WeatherDataType.TEMPERATURE, time_now)
Verify before relying
- Whether the 37MB hourly data download (mentioned in docs) is a practical concern for typical use cases.
- Accuracy and latency of the get_nearest_station_id() geolocation method.
- Whether all WeatherDataType enum values are available at all stations or only some.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packageslxmlrequestsPillowarrowstream-unziphttpx |
| Maintenance | Actively maintained 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 246,348 / month, #8,711 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: simple_dwd_weatherforecast-3.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dwd weather data python”
- simple-dwd-weatherforecastRetrieves hourly weather forecasts for the next 10 days from…
- dwdwfsapiRetrieves weather warnings, bio-weather forecasts, and pollen flight…
- openmeteo-requestsFetches weather data from the Open-Meteo API using FlatBuffers for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also dwdwfsapi · buienradar · meteostat · openmeteo-requests · accuweather · meteofrance-api · herbie-data · AEMET-OpenData · imgw-pib · openmeteo-sdk