skillfed

proxy.py

\u26a1 Fast \u2022 \U0001fab6 Lightweight \u2022 \U0001f51f Dependency \u2022 \U0001f50c Pluggable \u2022 \U0001f608 TLS interception \u2022 \U0001f512 DNS-over-HTTPS \u2022 \U0001f525 Poor Mans VPN \u2022 \u23ea Reverse & \u23e9 Forward \u2022 \U0001f46e\U0001f3ff Proxy Server framework \u2022 \U0001f310 Web Server framework \u2022 \u27b5 \u27b6 \u27b7 \u27a0 PubSub framework \u2022 \U0001f477 Work acceptor & executor framework.

proxy-py v2.4.10 1.0M downloads/30d#4,515 on PyPI3,548
Permissive license 'BSD' Active released

What it is and what it does

proxy.py is a full-featured HTTP proxy server framework written in Python that operates as both a forward and reverse proxy with built-in support for TLS interception, DNS-over-HTTPS, and custom request/response manipulation. It uses asyncio for threadless, event-driven concurrency and is designed to handle high connection volumes efficiently. The package is structured around a plugin architecture, allowing developers to intercept and modify HTTP traffic, implement custom routing, cache responses, perform authentication, and integrate with external services without modifying the core proxy code.

The framework is suitable for development, testing, monitoring, and production deployment scenarios. It can be run standalone from the command line, embedded directly in Python applications, deployed via Docker, or used as a library for building custom proxy solutions. The package includes utilities for HTTP request/response building, TCP socket management, and PKI operations, plus a dashboard for traffic inspection and Prometheus metrics support.

Use it for:

  • Intercept and modify HTTP requests/responses during development and testing without external tools.
  • Implement custom DNS resolution or traffic filtering rules via plugins for network control.
  • Deploy as a lightweight reverse proxy or load balancer for small to medium workloads.
  • Perform TLS interception for security research, monitoring, or compliance auditing.
  • Build a drop-in ngrok alternative (GROUT) to expose local services over SSH tunnels or public URLs.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A lightweight, pluggable HTTP proxy server framework that handles forward proxying, reverse proxying, and TLS interception with support for custom plugins and asyncio-based concurrency.

Yes. The package is production-stable, actively maintained, has zero known vulnerabilities, installs with no dependencies, and offers a flexible plugin-based architecture suitable for both simple proxy use cases and complex custom implementations. The low install friction and broad platform support make it a practical choice for developers needing HTTP proxy functionality.

Install

proxy-py on PyPI

pip

pip install proxy-py

uv

uv add proxy-py

poetry

poetry add proxy-py

Installing proxy.py

Before you install

Low friction installation with no runtime dependencies. Actively maintained with recent commits and a stable release history spanning over a decade.

License in practice

BSD license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install proxy.py

from proxy.py import Proxy

proxy = Proxy()
proxy.start()

Requires Python 3.6 or later; some features like TLS interception may require additional system configuration or certificates.

Verify before relying

  • Whether the package's asyncio implementation actually achieves the benchmark throughput of 51667 requests/sec in typical production environments.
  • Specific resource requirements (memory, CPU) for handling sustained high-concurrency workloads.
  • Compatibility and performance implications when running on Windows vs. POSIX systems.

Package facts

License 'BSD' (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 542 days since the last release
Last repo commit
First released
Downloads 1,010,396/month — #4,515 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: proxy.py-2.4.10-py3-none-any.whl

Keywords: http, proxy, http proxy server, proxy server, http server, http web server, proxy framework, web framework, Python3

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: No Input/Output (Daemon)Environment :: PluginsEnvironment :: Web EnvironmentEnvironment :: Win32 (MS Windows)Framework :: Robot FrameworkFramework :: Robot Framework :: LibraryIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: AndroidOperating System :: MacOSOperating System :: MacOS :: MacOS 9Operating System :: MacOS :: MacOS XOperating System :: MicrosoftOperating System :: Microsoft :: WindowsOperating System :: Microsoft :: Windows :: Windows 10Operating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationTopic :: InternetTopic :: Internet :: Proxy ServersTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: BrowsersTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/LibrariesTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Scientific/Engineering :: Information AnalysisTopic :: Software Development :: DebuggersTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: MonitoringTopic :: System :: NetworkingTopic :: System :: Networking :: FirewallsTopic :: System :: Networking :: MonitoringTopic :: UtilitiesTyping :: Typed

Tags

http proxy serverforward proxyreverse proxytls interceptionproxy frameworkpluggable proxyasyncio proxy
http-proxyasyncioplugin-framework

More Python Modules packages