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.6.tar.gz
.
File metadata
- Download URL: python_reverse_proxy-0.0.6.tar.gz
- Upload date:
- Size: 6.5 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 | 4ffb3fbf85624bdca8115b692a13bec4b3582eee997f515abbf667493b20e09d |
|
MD5 | 0793532dfd6d184456ad1c690a0e8dea |
|
BLAKE2b-256 | 3f9add6e7f87f467ba2e1127cffc1a8f4985329775847b69a86fc46ba96c5fc7 |
File details
Details for the file python_reverse_proxy-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: python_reverse_proxy-0.0.6-py3-none-any.whl
- Upload date:
- Size: 8.6 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 | 98ce76b263046d1081c0fce6015e60babc381e841578478baa32086f3f01e147 |
|
MD5 | f5f3b4512b11e85cb133678c7a953713 |
|
BLAKE2b-256 | 63b36709d33826dc538b52f758945620afc768591115527b3f38da5b57f32201 |