Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_reverse_proxy-0.0.5.4.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

python_reverse_proxy-0.0.5.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file python_reverse_proxy-0.0.5.4.tar.gz.

File metadata

  • Download URL: python_reverse_proxy-0.0.5.4.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.8 Darwin/23.5.0

File hashes

Hashes for python_reverse_proxy-0.0.5.4.tar.gz
Algorithm Hash digest
SHA256 f4492c261fd5c9e2e5b99c4583b4478011df6cf5b590db7c42afa25bb319b1e7
MD5 beb7154853bc45036b3518c7e4cd0d67
BLAKE2b-256 77a6ff8076a9fe0c7f4729d79e005315708de1a95e0701a92a7bef837b79b248

See more details on using hashes here.

File details

Details for the file python_reverse_proxy-0.0.5.4-py3-none-any.whl.

File metadata

File hashes

Hashes for python_reverse_proxy-0.0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d504fab3882af53934e19d8e046ae4848f7426ad418e29cc0f8fc35056c562a
MD5 adb60f737fa76e57fd2f45a3d3049b02
BLAKE2b-256 e61f0000e8ee7292c716473a202129a95d30a42367c31d04faa3e20413897668

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page