Werkzeug
The comprehensive WSGI web application library.
Install
werkzeug on PyPI
pip
pip install werkzeuguv
uv add werkzeugpoetry
poetry add werkzeugPackage facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — markupsafe |
| Maintenance | actively maintained — 133 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: werkzeug-3.1.8-py3-none-any.whl
About Werkzeug
from the package's own PyPI description — quoted content, verbatim
<div align="center"><img src="https://raw.githubusercontent.com/pallets/werkzeug/refs/heads/stable/docs/_static/werkzeug-name.svg" alt="" height="150"></div>
Werkzeug
werkzeug German noun: "tool". Etymology: werk ("work"), zeug ("stuff")
Werkzeug is a comprehensive [WSGI][] web application library. It began as a simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility libraries.
It includes:
- An interactive debugger that allows inspecting stack traces and source code in the browser with an interactive interpreter for any frame in the stack.
- A full-featured request object with objects to interact with headers, query args, form data, files, and cookies.
- A response object that can wrap other WSGI applications and handle streaming data.
- A routing system for matching URLs to endpoints and generating URLs for endpoints, with an extensible system for capturing variables from URLs.
- HTTP utilities to handle entity tags, cache control, dates, user agents, cookies, files, and more.
- A threaded WSGI server for use while developing applications locally.
- A test...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Werkzeug is a comprehensive WSGI web application library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, a development server, and a test client for building web applications.
Low friction: pure Python wheel with only markupsafe as a runtime dependency. Actively maintained with recent releases and 6876 GitHub stars; last commit 2026-08-13 signals ongoing development.
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Usage
pip install werkzeug
from werkzeug.wrappers import Request, Response
from werkzeug.serving import run_simple
@Request.application
def app(request: Request) -> Response:
return Response("Hello, World!")
if __name__ == "__main__":
run_simple("127.0.0.1", 5000, app)
Requires Python 3.9 or later.
Verdict: Werkzeug is a mature, well-maintained WSGI foundation library with no known vulnerabilities, minimal dependencies, and permissive licensing. It is suitable for production use and widely adopted in the Python web ecosystem.
Similar packages
permissive · top 1,000 on PyPI
Flask-SQLAlchemypermissive · top 1,000 on PyPI
clickpermissive · top 100 on PyPI
debugpypermissive · top 1,000 on PyPI
Jinja2permissive · top 100 on PyPI
itsdangerouspermissive · top 1,000 on PyPI
MarkupSafepermissive · top 100 on PyPI
click-option-grouppermissive · top 1,000 on PyPI
opentelemetry-instrumentation-flaskpermissive · top 1,000 on PyPI
opentelemetry-instrumentation-wsgipermissive · top 1,000 on PyPI