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.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

python_reverse_proxy-0.0.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for python_reverse_proxy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 61230bb2f7f0ddf60960772359fa31cfae7e8516a6682b5c9832163dd50ec99b
MD5 f6693944125359e6b1ce4d52b5d68b12
BLAKE2b-256 1519ec11dc746ea73508634e274c9ef2ae128e7db4e978dbcc2478114f4aa095

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_reverse_proxy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 972f285ba7bb51acfecccb3880a7ce958be09261c53e112cc7cef1d6bfda30ca
MD5 09bae481da1c546378bda86cdddd3d7a
BLAKE2b-256 00ade629962a89ee034dd57bbed01c03ef9262e009b03e303d6873428622b8bf

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