pproxy
Proxy server that can tunnel among remote servers by regex rules.
What it is and what it does
pproxy is a lightweight, single-threaded asynchronous proxy server written in pure Python that implements a wide range of tunneling protocols. It can act as both a proxy client and server, supporting HTTP (including v2 and v3/QUIC), SOCKS4/5, Shadowsocks, SSH tunnels, and several other protocols. The core use case is routing traffic through remote proxy servers with optional encryption, authentication, and regex-based filtering rules.
The package requires Python 3.6 or later and has no mandatory runtime dependencies, making it lightweight to deploy. Optional dependencies like pycryptodome improve cipher performance, and asyncssh enables SSH tunnel support. It can be used as a command-line tool, a Docker container, or integrated into applications via its client/server API. The tool supports load balancing across multiple remote servers, system-wide proxy configuration on macOS and Windows, and traffic statistics.
Use it for:
- Set up a local SOCKS5 proxy server to tunnel traffic through a remote Shadowsocks server with encryption
- Route HTTP traffic through multiple remote proxies with load balancing and regex-based hostname filtering
- Configure system-wide proxy settings on macOS or Windows to redirect all local traffic through a remote proxy
- Create an SSH tunnel client to forward traffic through a remote SSH server
- Run a Docker-based proxy relay to bridge traffic between different network segments or protocols
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
pproxy is an asynchronous proxy server that tunnels TCP and UDP traffic across HTTP, SOCKS, Shadowsocks, SSH, and other protocols, with support for load balancing and regex-based routing rules.
Yes, if you need a lightweight, protocol-rich proxy server with no mandatory dependencies. The package is mature and stable (MIT license, 2200 stars, production-stable classifier), though dormant maintenance means you should verify compatibility with your Python version and monitor for security updates. Install it for local tunneling, testing, or simple relay scenarios.
Install
pproxy on PyPI
pip
pip install pproxyuv
uv add pproxypoetry
poetry add pproxyInstalling pproxy
Before you install
Installation is straightforward with no required dependencies. The package is dormant (last release 2024-01-16, last commit 2024-11-16) but has been stable since its early releases and maintains 2200 GitHub stars, suggesting a mature codebase despite infrequent updates.
License in practice
MIT license is permissive, allowing use in commercial and proprietary projects with minimal restrictions—only requiring attribution.
Quickstart
$ pip3 install pproxy
$ pproxy
Serving on :8080 by http,socks4,socks5
Or with Shadowsocks:
$ pproxy -l ss://chacha20:abc@:8080
Serving on :8080 by ss (chacha20-py)
Requires Python 3.6 or later. Optional pycryptodome dependency improves cipher performance; asyncssh enables SSH tunnel support.
Verify before relying
- Whether the dormant maintenance status affects compatibility with current Python versions beyond the stated 3.6+ support
- Performance characteristics of built-in pure-Python ciphers versus C-accelerated alternatives in production scenarios
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 941 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 153,042/month — #10,887 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pproxy-2.7.9-py3-none-any.whl
Keywords: proxy, socks, http, shadowsocks, shadowsocksr, ssr, redirect, pf, tunnel, cipher, ssl, udp
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
mitmproxy-wireguardImplements a user-space WireGuard server that…
permissive · top 5,000 on PyPI
proxy.pyA lightweight, pluggable HTTP proxy server…
permissive · top 5,000 on PyPI
PyPACPyPAC discovers proxy auto-config (PAC) files…
permissive · top 15,000 on PyPI
PySocksPySocks provides a SOCKS and HTTP proxy client…
permissive · top 1,000 on PyPI
asysocksAsynchronous SOCKS5, SOCKS4, and HTTP proxy…
permissive · top 15,000 on PyPI
httpx-socksAdds SOCKS4(a), SOCKS5(h), and HTTP CONNECT…
permissive · top 5,000 on PyPI
sshtunnelEstablishes SSH tunnels to forward local ports…
permissive · top 1,000 on PyPI
SocketSwapSocketSwap intercepts and redirects network…
permissive · top 15,000 on PyPI
python-socksProvides SOCKS4(a), SOCKS5(h), and HTTP CONNECT…
permissive · top 5,000 on PyPI
mitmproxymitmproxy is an interactive, SSL/TLS-capable…
permissive · top 5,000 on PyPI