Skip to content

Lightweight HTTP Proxy Server in Python that supports WebSockets

License

Notifications You must be signed in to change notification settings

Teutades/proxy.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy.py

Lightweight HTTP Proxy Server in Python with WebSocket support.

Features

  • Distributed as a single file module
  • No dependency other than the Python standard library
  • Support for http, https, websockets request proxy
  • Explicit WebSocket support for easy WebSocket traffic modification was added by me.

Install

Just clone this project. When you install over pip, you will install the original version at https://github.com/abhinavsingh/proxy.py

Usage

$ proxy.py -h
usage: proxy.py [-h] [--hostname HOSTNAME] [--port PORT]
                [--log-level LOG_LEVEL]

proxy.py v0.1

optional arguments:
  -h, --help            show this help message and exit
  --hostname HOSTNAME   Default: 127.0.0.1
  --port PORT           Default: 8899
  --log-level LOG_LEVEL
                        DEBUG, INFO, WARNING, ERROR, CRITICAL

Having difficulty using proxy.py? Report at:
https://github.com/abhinavsingh/proxy.py/issues/new

About

Lightweight HTTP Proxy Server in Python that supports WebSockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Makefile 0.6%