skillfed

dwdwfsapi

Python client to retrieve data provided by DWD via their geoserver WFS API

dwdwfsapi v1.1.0 73.6K downloads/30d#14,965 on PyPI10
Permissive license Active released

What it is and what it does

dwdwfsapi is a Python client that queries the German Weather Service (DWD) Geoserver to fetch real-time weather warnings, bio-weather forecasts, and pollen flight predictions for specific German locations. You initialize it with a warncell ID, GPS coordinates, or location name, and it retrieves structured warning data including severity levels, event types, time ranges, and health impact information.

The package wraps the DWD's WFS (Web Feature Service) API, handling the HTTP requests via requests and urllib3, and parses the responses into Python dictionaries and datetime objects. It's designed for applications that need to display or act on German weather alerts—such as mobile apps, home automation systems, or health-related services—and supports periodic polling via its update() method to keep data current.

Use it for:

  • Display current and forecast weather warnings for a specific German region in a mobile or web app.
  • Trigger automated alerts or notifications when a new weather warning reaches a certain severity level.
  • Build a health advisory system that shows bio-weather impacts (e.g., asthma risk, cardiovascular stress) for a user's location.
  • Integrate pollen flight forecasts into allergy management or outdoor activity planning applications.
  • Monitor multiple warncells and aggregate warning data for regional dashboards or emergency response systems.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Retrieves weather warnings, bio-weather forecasts, and pollen flight data for German locations from the DWD (Deutscher Wetterdienst) Geoserver WFS API.

Yes, if you need to integrate German weather warnings or bio-weather forecasts into a Python application. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and is licensed permissively. The main constraint is the Python 3.11+ requirement; if your project supports that, it's a straightforward choice for DWD data access.

Install

dwdwfsapi on PyPI

pip

pip install dwdwfsapi

uv

uv add dwdwfsapi

poetry

poetry add dwdwfsapi

Installing dwdwfsapi

Before you install

Installs cleanly with only two common dependencies (requests and urllib3). Actively maintained with recent commits; last update in August 2026 and latest release in March 2024.

License in practice

Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install dwdwfsapi

from dwdwfsapi import DwdWeatherWarningsAPI
dwd = DwdWeatherWarningsAPI('813073088')
if dwd.data_valid:
    print(dwd.current_warning_level)
    for warning in dwd.current_warnings:
        print(warning)

Requires Python 3.11 or later.

Verify before relying

  • Whether the package handles rate limiting or connection failures gracefully when querying DWD servers.
  • Whether forecast data is cached or always fetched fresh on each update() call.
  • Whether the pollen flight module is fully documented in the public API or still in development.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, urllib3
Maintenance actively maintained — 879 days since the last release
Last repo commit
First released
Downloads 73,595/month — #14,965 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dwdwfsapi-1.1.0-py3-none-any.whl

Keywords: deutscher wetterdienst, dwd, ows, wfs

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

german weather warnings apidwd wfs clientweather alerts germanybio weather forecastpollen flight forecastdeutscher wetterdienst datawfs weather data retrieval
weather-datagerman-serviceswfs-client

More WWW/HTTP packages