skillfed

PasteDeploy

Load, configure, and compose WSGI applications and servers

pastedeploy v3.1.0 3.1M downloads/30d#2,763 on PyPI24
Permissive license MIT Active released

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 pastedeploy

uv

uv add pastedeploy

poetry

poetry add pastedeploy

Installing 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

Development Status :: 6 - MatureFramework :: PasteIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: WSGITopic :: Internet :: WWW/HTTP :: WSGI :: MiddlewareTopic :: Software Development :: Libraries :: Python Modules

Tags

wsgi application loaderwsgi configuration managementload wsgi apps from ini filesweb application deployment configwsgi server setup
wsgi-deploymentconfiguration-management

More Python Modules packages