WSGIProxy2
A WSGI Proxy with various http client backends
What it is and what it does
WSGIProxy2 is a WSGI middleware that acts as a reverse proxy, forwarding HTTP requests from a WSGI application to a remote backend server and returning the responses. It accepts a backend URL and optional HTTP client backend (requests, urllib3, or Python's built-in httplib) to handle the actual HTTP communication. The proxy integrates with WSGI frameworks like webob, allowing you to treat a remote application as if it were a local WSGI app.
The package is minimal and focused: it handles request forwarding, response streaming (when using the requests backend), and method filtering. It has been dormant since 2021-08-26, with no active maintenance, so it is best suited for stable, low-change use cases where you need a simple reverse proxy layer in a WSGI stack.
Use it for:
- Route requests from a WSGI application to a backend service running on a different host or port
- Test a WSGI application against a remote backend without modifying the application's code
- Implement a reverse proxy layer in front of a legacy HTTP service using WSGI middleware
- Stream responses from a remote server through a WSGI application using the requests client backend
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
WSGIProxy2 wraps a remote HTTP application as a local WSGI application, forwarding requests to a backend server and returning responses through standard WSGI interfaces.
Yes, if you need a simple, lightweight WSGI reverse proxy and are comfortable with dormant maintenance. The package has no known vulnerabilities, low install friction, and a permissive license. 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 your WSGI framework first.
Install
wsgiproxy2 on PyPI
pip
pip install wsgiproxy2uv
uv add wsgiproxy2poetry
poetry add wsgiproxy2Installing WSGIProxy2
Before you install
Installation is straightforward with low friction—a single pure-Python wheel with one core dependency (webob). The package is dormant (last release 2021-08-26, no commits since 2024-11-16), so expect no active maintenance or bug fixes, though the codebase appears stable for its narrow scope.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely as long as you retain the license notice.
Quickstart
pip install WSGIProxy2
from wsgiproxy import HostProxy
from webob import Request
proxy = HostProxy('http://backend.example.com')
req = Request.blank('/path')
resp = req.get_response(proxy)
Verify before relying
- Whether the package works reliably with Python versions beyond those listed in classifiers (3.7, 3.8, 3.9)
- Performance characteristics and connection pooling behavior with different client backends under load
- Compatibility with modern WSGI servers and frameworks beyond the WebOb example shown
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — webob |
| Maintenance | dormant — 1,814 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 154,864/month — #10,843 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: WSGIProxy2-0.5.1-py3-none-any.whl
Keywords: wsgi, proxy
Tags
More Application packages
Werkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
Flask-WTFFlask-WTF integrates WTForms with Flask to…
permissive · top 5,000 on PyPI
Flask-SessionFlask-Session adds server-side session storage…
permissive · top 5,000 on PyPI
bottleBottle is a lightweight WSGI microframework for…
permissive · top 5,000 on PyPI
awsgi2Bridges WSGI-compatible web frameworks to AWS…
permissive · top 15,000 on PyPI
WebObWebOb provides request and response objects…
permissive · top 5,000 on PyPI
PastePaste provides WSGI middleware components for…
permissive · top 5,000 on PyPI
serverless-wsgiBridges Python WSGI applications (Flask,…
permissive · top 15,000 on PyPI
PasteDeployPasteDeploy loads and configures WSGI…
permissive · top 5,000 on PyPI
PyPACPyPAC discovers proxy auto-config (PAC) files…
permissive · top 15,000 on PyPI
plaster-pastedeployA plaster plugin that loads and parses INI…
permissive · top 5,000 on PyPI
django-revproxyA Django application that forwards HTTP…
copyleft · top 15,000 on PyPI
pyuwsgipyuwsgi packages the uWSGI application server…
copyleft · top 15,000 on PyPI
apig-wsgiWraps a WSGI application to run as an AWS…
permissive · top 15,000 on PyPI