skillfed

Paste

Tools for using a Web Server Gateway Interface stack

paste v3.10.1 1.3M downloads/30d#4,107 on PyPI64
Permissive license MIT DORMANT released

What it is and what it does

Paste is a collection of WSGI middleware and utilities for building, testing, and debugging web applications. It provides components for request/response manipulation, URL dispatching, authentication (HTTP Basic and Digest, signed cookies, CAS), session management, static file serving, and error handling. The package also includes testing fixtures for WSGI applications and command-line tools, plus debugging filters for exception tracking and HTML validation.

The package is in maintenance mode and no longer actively developed—the maintainers explicitly state that patches are accepted only for security issues or major problems, and recommend that new projects consider more modern alternatives. It requires Python 3 and has a single runtime dependency on setuptools.

Use it for:

  • Testing WSGI applications in-process using the testing fixture in paste.fixture.
  • Dispatching requests to multiple WSGI applications based on URL prefixes using paste.urlmap.
  • Implementing HTTP authentication via paste.auth.
  • Catching and formatting HTTP exceptions into proper responses with paste.httpexceptions.
  • Debugging web applications by capturing print output with paste.debug modules.

Worth the install?

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

Paste provides WSGI middleware components for building web applications, including request/response utilities, authentication, sessions, error handling, and debugging tools.

No, unless you are maintaining an existing Paste-based application. The maintainers explicitly recommend using other options for new projects. The package is in dormant maintenance mode with infrequent releases and patches accepted only for security issues. For new WSGI development, consider alternatives.

Install

paste on PyPI

pip

pip install paste

uv

uv add paste

poetry

poetry add paste

Installing Paste

Before you install

Low install friction with only setuptools as a runtime dependency. However, the package is in dormant maintenance mode—the last release was 835 days ago, and the maintainers explicitly recommend considering other options for new projects.

License in practice

MIT license is permissive and imposes no significant restrictions on use or redistribution.

Quickstart

pip install Paste

from paste.fixture import TestApp
from paste.httpexceptions import HTTPNotFound

app = TestApp(your_wsgi_app)
response = app.get('/')

Requires Python 3 or later; Python 2 is no longer supported as of release 3.7.0.

Verify before relying

  • Whether existing WSGI applications using Paste will continue to work with future Python versions given the dormant maintenance status.
  • Whether the debugging and profiling features remain compatible with modern web frameworks.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3)
Install friction low — pure-Python wheel
Runtime dependencies 1 — setuptools
Maintenance dormant — 835 days since the last release
Last repo commit
First released
Downloads 1,288,119/month — #4,107 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: Paste-3.10.1-py3-none-any.whl

Keywords: web, application, server, wsgi

Development Status :: 5 - Production/StableFramework :: PasteIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: WSGITopic :: Internet :: WWW/HTTP :: WSGI :: ApplicationTopic :: Internet :: WWW/HTTP :: WSGI :: MiddlewareTopic :: Internet :: WWW/HTTP :: WSGI :: ServerTopic :: Software Development :: Libraries :: Python Modules

Tags

wsgi middlewareweb application middlewarewsgi request responsehttp exception handlingwsgi testing fixtureweb debugging toolssession management wsgi
wsgilegacy-maintenanceweb-middleware

More Python Modules packages