PasteDeploy
Load, configure, and compose WSGI applications and servers
What it is and what it does
PasteDeploy is a mature WSGI application loader that reads declarative configuration files (typically INI format) to instantiate and compose web applications and servers. Rather than writing code to wire up your application, you describe it in a configuration file with URIs pointing to entry points, and PasteDeploy handles the loading and initialization.
The package has been in active development since its first release in 2005 and supports Python 3.7 through 3.12. It depends only on importlib-metadata and installs with minimal friction. It is primarily used in environments where declarative, file-based application setup is preferred over programmatic initialization.
Use it for:
- Load a WSGI application from an INI configuration file without writing deployment code.
- Compose multiple WSGI middleware layers declaratively in a single configuration file.
- Load different application configurations for development, staging, and production environments.
- Set up web servers with configuration-driven initialization in legacy or Paste-based projects.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
PasteDeploy loads and configures WSGI applications and servers from URI-based configuration files, allowing you to compose web applications declaratively.
Yes, if you are working with WSGI applications in environments that use INI-style configuration. The package is mature, actively maintained, has no known vulnerabilities, and installs cleanly. However, if you are starting a new project, verify whether your chosen web framework or deployment tool has a more modern alternative, as this package reflects older Python web practices.
Install
pastedeploy on PyPI
pip
pip install pastedeployuv
uv add pastedeploypoetry
poetry add pastedeployInstalling PasteDeploy
Before you install
Low friction installation with a single lightweight runtime dependency (importlib-metadata). Actively maintained with recent commits and support for Python 3.7 through 3.12.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install PasteDeploy
import importlib.metadata
from pastedeploy import loadapp
app = loadapp('config:development.ini', relative_to='.')
Requires an INI-style configuration file describing the WSGI application and server; PasteDeploy does not generate these files automatically.
Verify before relying
- Whether the package is still actively used in modern Python web frameworks or has been superseded by newer deployment tooling.
- Compatibility with contemporary WSGI servers and whether it integrates with modern async frameworks.
- Whether the usage example reflects the actual public API of the current version.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — importlib-metadata |
| Maintenance | actively maintained — 997 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,077,790/month — #2,763 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: PasteDeploy-3.1.0-py3-none-any.whl
Keywords: web, wsgi, application, server
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
PastePaste provides WSGI middleware components for…
permissive · top 5,000 on PyPI
PasteScriptPasteScript is a command-line tool for creating…
permissive · top 15,000 on PyPI
plaster-pastedeployA plaster plugin that loads and parses INI…
permissive · top 5,000 on PyPI
pyuwsgipyuwsgi packages the uWSGI application server…
copyleft · top 15,000 on PyPI
plasterPlaster provides a unified loader interface for…
permissive · top 5,000 on PyPI
toolA compact modular framework for building WSGI…
copyleft · top 15,000 on PyPI
WSGIProxy2WSGIProxy2 wraps a remote HTTP application as a…
permissive · top 15,000 on PyPI
wsgidavWsgiDAV is a WebDAV server implementation in…
permissive · top 15,000 on PyPI
dj-staticWraps a WSGI application to serve static files…
permissive · top 15,000 on PyPI
WebObWebOb provides request and response objects…
permissive · top 5,000 on PyPI