Skip to main content
proxy.py
========

Lightweight HTTP, HTTPS and WebSockets Proxy Server in Python.

Features
--------

- Distributed as a single file module
- No external dependency other than standard Python library
- Support for `http`, `https` and `websockets` request proxy
- Optimize for large file uploads and downloads
- IPv4 and IPv6 support
- Basic authentication support

Install
-------

To install proxy.py, simply:

$ pip install proxy.py

Usage
-----

```
$ proxy.py -h
usage: proxy.py [-h] [--hostname HOSTNAME] [--port PORT] [--backlog BACKLOG]
[--basic-auth BASIC_AUTH]
[--server-recvbuf-size SERVER_RECVBUF_SIZE]
[--client-recvbuf-size CLIENT_RECVBUF_SIZE]
[--log-level LOG_LEVEL]

proxy.py v0.3

optional arguments:
-h, --help show this help message and exit
--hostname HOSTNAME Default: 127.0.0.1
--port PORT Default: 8899
--backlog BACKLOG Default: 100. Maximum number of pending connections to
proxy server
--basic-auth BASIC_AUTH
Default: No authentication. Specify colon separated
user:password to enable basic authentication.
--server-recvbuf-size SERVER_RECVBUF_SIZE
Default: 8 KB. Maximum amount of data received from
the server in a single recv() operation. Bump this
value for faster downloads at the expense of increased
RAM.
--client-recvbuf-size CLIENT_RECVBUF_SIZE
Default: 8 KB. Maximum amount of data received from
the client in a single recv() operation. Bump this
value for faster uploads at the expense of increased
RAM.
--log-level LOG_LEVEL
DEBUG, INFO (default), WARNING, ERROR, CRITICAL

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

Release files for proxy.py 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxy.py 0.3
File Size Uploaded Provenance Actions
proxy.py-0.3.tar.gz 9.9 kB Without provenance Details for proxy.py-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proxy.py 0.3
File Interpreter ABI Platform Actions
proxy.py-0.3-py3-none-any.whl Python 3 none any Details for proxy.py-0.3-py3-none-any.whl

Total release size: 26.3 kB

Release files / proxy.py-0.3.tar.gz

Download URL proxy.py-0.3.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3f80bb49d52d0793d59b6f28a8721ed694ceb1af7dabe8493c7ecbd4487222c
BLAKE2b-256 checksum
How to use checksums
a9e659453d8cef34a0e170df2f27a7e5c92c394ea67cef0760e963b0ef8bca71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / proxy.py-0.3-py3-none-any.whl

Download URL proxy.py-0.3-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eafe063f87dd4de3cb3d680136e5f5d650628cd8b877911ed342457ea6047b8d
BLAKE2b-256 checksum
How to use checksums
2be325fe95911a7efa183e7124e05a36954b7d58fca3eb74c27a3daa028d2724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for proxy.py 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page