Description
proxy.py is a lightweight Python proxy and tunnelling framework for developers. It has no dependencies and can run as a forward proxy, a reverse proxy, a web server or a plugin host. The README lists HTTP proxy plugins for things such as short links, rewriting request and response data, mocking an API, redirecting to a custom server, filtering by upstream host or client IP, caching responses, and using a custom DNS resolver. It also supports TLS interception for debugging traffic you control, end-to-end encryption, and proxy over SSH. Grout is a built-in tunnelling feature that exposes a local server through a public address, positioned as an alternative to ngrok, and it can be self-hosted. The project includes a dashboard for inspecting traffic, Chrome DevTools Protocol support and Prometheus metrics. It can be installed with pip, Docker or Homebrew, can be embedded in other Python programs, and includes a unit-testing helper. The README also has a plugin developer guide and a frequently asked questions section about production deployment.…
Highlights
- Forward and reverse proxy with no dependencies
- Pluggable HTTP proxy and web server plugins
- Grout tunnels, an ngrok-style alternative
- Traffic dashboard and Prometheus metrics
- Installs with pip, Docker or Homebrew
Ratings & Reviews
No ratings yet
Be the first to rate Proxy.py.
People also visit
MasterHttpRelayVPN
Domain-fronted HTTP/SOCKS5 proxy tunneling traffic through Google Apps Script
Proxy.py FAQ
What is proxy.py?
A lightweight Python proxy and tunnelling framework that can act as a forward proxy, reverse proxy or web server.
How do I install it?
Install with pip, use the Docker image, or install with Homebrew, as the README explains.
What is Grout?
A built-in tunnelling feature that exposes a local server through a public address, which the project presents as an alternative to ngrok. It can be self-hosted.
Can it inspect traffic?
Yes. It has a dashboard for inspecting traffic and supports the Chrome DevTools Protocol.
Does it have dependencies?
The README says it has zero dependencies.
Is it free?
Yes. It is open source and the code is on GitHub.
What are the best Proxy.py alternatives?
Popular alternatives to Proxy.py include FRP, Shuttle and Gost. See all Proxy.py alternatives