--- id: simple-dwd-weatherforecast version: "3.5.0" license: unclear license_treatment: permissive maintenance: active --- # simple-dwd-weatherforecast — A simple tool to retrieve a weather forecast from DWD OpenData License: permissive · Maintenance: active · Downloads: 246.3K/mo ## 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 above — verify before relying. Retrieves hourly weather forecasts for the next 10 days from Germany's Deutscher Wetterdienst (DWD) public data, including temperature, precipitation, wind, and condition classifications, plus air quality and weather maps. 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 pip install simple-dwd-weatherforecast uv add simple-dwd-weatherforecast poetry add simple-dwd-weatherforecast ## Installing simple-dwd-weatherforecast 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. 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) Datetime values must be in UTC. Optional apparent-temperature extra requires ecCodes runtime; core package works without it. 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: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 246.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags german weather forecast api, dwd weather data python, hourly weather forecast germany, weather condition classification, air quality data retrieval, weather maps dwd, nearest weather station lookup, weather-api, german-data, home-automation [View on SkillFed](https://skillfed.io/packages/simple-dwd-weatherforecast) · [View on PyPI](https://pypi.org/project/simple-dwd-weatherforecast/)