# pallets/werkzeug

The comprehensive WSGI web application library.

Repository: https://github.com/pallets/werkzeug
Canonical: https://ross.abutalabs.com/products/werkzeug
Homepage: https://werkzeug.palletsprojects.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: python, wsgi, werkzeug, http, pallets
Last push: 2026-08-21T23:58:36+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 77, longevity 100
- inputs: {"age_days": 5798, "days_push": 12, "days_rel": 153, "gap_med": 7.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6877, forks 1815 (observed 2026-08-28T04:09:51.050917+00:00)

## What it is
Werkzeug is a comprehensive WSGI utility library for Python web applications, providing request/response objects, URL routing, HTTP utilities, a development server, an interactive debugger, and a test client. It is the foundational layer underneath Flask and does not enforce any dependencies like template engines or database adapters.

## Use cases
- build a WSGI web application in Python without a full framework
- simulate HTTP requests in tests without running a server
- debug Python web app stack traces in the browser
- match URLs to endpoints and generate URLs with variable capture
- handle headers, form data, file uploads, and cookies in WSGI apps
- run a lightweight threaded development server locally

## When to choose
- you're building a Flask app (it's the underlying WSGI layer)
- you want fine-grained control over WSGI without framework conventions
- you need a robust test client or interactive debugger for WSGI apps
- you're writing middleware or utilities that operate at the WSGI level

## When to avoid
- you want a batteries-included framework with structure and patterns - use Flask or Django instead
- you need async/ASGI support rather than WSGI
- you need a production-grade HTTP server rather than a development server

## Facets
- artifact type: library
- maturity: stable
- function: http-server, routing, middleware, http-client, testing, web-framework
- domain: web-development, backend, developer-tools, apis
- platform: python, cross-platform
- tags: wsgi, flask-dependency, debugger, request-response, url-routing, test-client

## Member repositories
- pallets/werkzeug (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.050917+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:41.191868+00:00, confidence not recorded.
  - readme: https://github.com/pallets/werkzeug (fetched 2026-08-28T04:09:51.050917+00:00, sha 6760f55eac63)
  - registry_pypi: https://pypi.org/pypi/werkzeug/json (fetched 2026-08-29T08:38:02.249012+00:00, sha 100ea12542a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
