Python reverse proxy.
Project description
Python reverse proxy.
安装
你可以从 pypi 安装
pip install -U python-reverse-proxy
用法
作为模块使用
from reverse_proxy import make_application
命令行使用
$ proxy -h
usage: reverse-proxy [-h] [-H HOST] [-P PORT] [-b BASE_URL] [-d] [-v]
🌍🚢 python 反向代理服务 🕷️🕸️
options:
-h, --help show this help message and exit
-H HOST, --host HOST ip 或 hostname,默认值:'0.0.0.0'
-P PORT, --port PORT 端口号,如果不提供,则自动确定
-b BASE_URL, --base-url BASE_URL
被代理的服务的 base_url,默认值:'http://localhost'
-d, --debug 启用 debug 模式(会输出更详细的信息)
-v, --version 输出版本号
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_reverse_proxy-0.0.3.tar.gz
.
File metadata
- Download URL: python_reverse_proxy-0.0.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.8 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61230bb2f7f0ddf60960772359fa31cfae7e8516a6682b5c9832163dd50ec99b |
|
MD5 | f6693944125359e6b1ce4d52b5d68b12 |
|
BLAKE2b-256 | 1519ec11dc746ea73508634e274c9ef2ae128e7db4e978dbcc2478114f4aa095 |
File details
Details for the file python_reverse_proxy-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: python_reverse_proxy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.8 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972f285ba7bb51acfecccb3880a7ce958be09261c53e112cc7cef1d6bfda30ca |
|
MD5 | 09bae481da1c546378bda86cdddd3d7a |
|
BLAKE2b-256 | 00ade629962a89ee034dd57bbed01c03ef9262e009b03e303d6873428622b8bf |