skillfed

WSGIProxy2

A WSGI Proxy with various http client backends

wsgiproxy2 v0.5.1 154.9K downloads/30d#10,843 on PyPI12
Permissive license MIT DORMANT released

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 wsgiproxy2

uv

uv add wsgiproxy2

poetry

poetry add wsgiproxy2

Installing 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: WSGI :: Application

Tags

wsgi proxyhttp proxy wsgiforward requests to remote serverwsgi application wrapperbackend proxy applicationhttp client wsgi adapter
wsgi-middlewarereverse-proxy

More Application packages