Lightweight HTTP Proxy Server in Python.
- No dependency other than the Python standard library
- Support for http, https, websockets request proxy
To install, simply:
$ pip install proxy_commandline.py
This will add the proxy to your python bin folder.
$ 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