Packages
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Flask-WTF integrates WTForms with Flask to handle form rendering, validation, and CSRF protection in web applications.
Install it if you are building forms in Flask.
Flask-Session adds server-side session storage to Flask applications, supporting multiple backends including Redis, Memcached, FileSystem, MongoDB, and SQLAlchemy.
However, the aging maintenance status means you should verify compatibility with your target Flask and Python versions before committing to production use.
Bottle is a lightweight WSGI microframework for building web applications in Python, providing routing, templating, and HTTP utilities with no external dependencies beyond the standard library.
WebOb provides request and response objects that wrap WSGI environments, offering convenient parsing and construction of HTTP requests and responses.
Install it if you're building or working with WSGI applications and need convenient request/response handling—it's a standard choice in the Python web ecosystem.
webargs parses and validates HTTP request arguments (query strings, form data, JSON bodies, headers) against declarative schemas, with built-in support for Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.
Install it if you are building web APIs or handlers in any of the supported frameworks and want to avoid manual argument parsing and validation boilerplate.
Validates and parses IANA language tags according to BCP 47 (RFC 5646) standards, allowing you to check whether a language tag is valid and extract its language, script, and region components.
Install it if you need to validate or parse IANA language tags in your application.
Paste provides WSGI middleware components for building web applications, including request/response utilities, authentication, sessions, error handling, and debugging tools.
CherryPy is an object-oriented HTTP framework that lets you build web applications and APIs by writing Python classes and methods, then expose them as web endpoints.
Peppercorn converts token streams into nested data structures (sequences, mappings, scalars), primarily for parsing HTTP form post data into richer formats.
Mailman is a mailing list management system that handles subscription, moderation, archiving, and delivery of email to subscriber lists, with web and command-line interfaces.
WsgiDAV is a WebDAV server implementation in Python that runs standalone with SSL support or as a WSGI application, exposing directories and data structures as editable file systems over the WebDAV protocol.
Install it if you need a WebDAV server (standalone or embedded), want to expose files or data structures over WebDAV, or need to integrate remote file access into a…
APIFlask is a lightweight web API framework that extends Flask with automatic request validation, response serialization, and OpenAPI documentation generation using either marshmallow schemas or Pydantic models.
repoze.who is an identification and authentication framework for WSGI applications, configurable as middleware or an API to handle user identification without providing authorization logic.
A CLI tool that auto-detects and downloads content from URLs using a plugin-based architecture, supporting multiple extraction methods (HTML, PDFs, screenshots, metadata, media) in a single command.
WSGIProxy2 wraps a remote HTTP application as a local WSGI application, forwarding requests to a backend server and returning responses through standard WSGI interfaces.
However, do not use it if you require active support, compatibility guarantees beyond Python 3.7–3.9, or modern connection pooling features—verify compatibility with…
Cornice provides decorators and utilities to build REST web services on top of Pyramid, with built-in support for request validation, error handling, and API documentation.
Provides reusable utilities for FastAPI applications including scheduled task decorators, TTL-based LRU caching, request timing middleware, session management, and a CLI tool for project scaffolding.
However, the aging maintenance status (507 days since last release) and Alpha classification mean you should verify that features work with your FastAPI version and…
Zope is an open-source web application server and framework that provides a complete environment for building and deploying Python-based web applications with built-in object database support and security features.
However, the 53 runtime dependencies and the framework's learning curve make it a commitment; it is best suited for teams already familiar with Zope or projects where…
A compact modular framework for building WSGI web applications, console interfaces, and configuration management, last updated in 2011.
Generates WTForms forms from SQLAlchemy models and provides form fields for selecting from database queries.
Install it if you're building WTForms-based applications with SQLAlchemy models and want to avoid manual form field definition or need database-backed select fields.