python-reverse-proxy


Namepython-reverse-proxy JSON
Version 0.0.5.4 PyPI version JSON
download
home_pagehttps://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-reverse-proxy
SummaryPython reverse proxy.
upload_time2024-11-08 07:36:26
maintainerNone
docs_urlNone
authorChenyangGao
requires_python<4.0,>=3.10
licenseMIT
keywords reverse proxy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python reverse proxy.

## 安装

你可以从 [pypi](https://pypi.org/project/python-reverse-proxy/) 安装

```console
pip install -U python-reverse-proxy
```

## 用法

### 作为模块使用

```python
from reverse_proxy import make_application
```

### 命令行使用

```console
$ 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         输出版本号
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-reverse-proxy",
    "name": "python-reverse-proxy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "reverse proxy",
    "author": "ChenyangGao",
    "author_email": "wosiwujm@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/77/a6/ff8076a9fe0c7f4729d79e005315708de1a95e0701a92a7bef837b79b248/python_reverse_proxy-0.0.5.4.tar.gz",
    "platform": null,
    "description": "# Python reverse proxy.\n\n## \u5b89\u88c5\n\n\u4f60\u53ef\u4ee5\u4ece [pypi](https://pypi.org/project/python-reverse-proxy/) \u5b89\u88c5\n\n```console\npip install -U python-reverse-proxy\n```\n\n## \u7528\u6cd5\n\n### \u4f5c\u4e3a\u6a21\u5757\u4f7f\u7528\n\n```python\nfrom reverse_proxy import make_application\n```\n\n### \u547d\u4ee4\u884c\u4f7f\u7528\n\n```console\n$ proxy -h\nusage: reverse-proxy [-h] [-H HOST] [-P PORT] [-b BASE_URL] [-d] [-v]\n\n\t\t\ud83c\udf0d\ud83d\udea2 python \u53cd\u5411\u4ee3\u7406\u670d\u52a1 \ud83d\udd77\ufe0f\ud83d\udd78\ufe0f\n\noptions:\n  -h, --help            show this help message and exit\n  -H HOST, --host HOST  ip \u6216 hostname\uff0c\u9ed8\u8ba4\u503c\uff1a'0.0.0.0'\n  -P PORT, --port PORT  \u7aef\u53e3\u53f7\uff0c\u5982\u679c\u4e0d\u63d0\u4f9b\uff0c\u5219\u81ea\u52a8\u786e\u5b9a\n  -b BASE_URL, --base-url BASE_URL\n                        \u88ab\u4ee3\u7406\u7684\u670d\u52a1\u7684 base_url\uff0c\u9ed8\u8ba4\u503c\uff1a'http://localhost'\n  -d, --debug           \u542f\u7528 debug \u6a21\u5f0f\uff08\u4f1a\u8f93\u51fa\u66f4\u8be6\u7ec6\u7684\u4fe1\u606f\uff09\n  -v, --version         \u8f93\u51fa\u7248\u672c\u53f7\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python reverse proxy.",
    "version": "0.0.5.4",
    "project_urls": {
        "Homepage": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-reverse-proxy",
        "Repository": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-reverse-proxy"
    },
    "split_keywords": [
        "reverse",
        "proxy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e61f0000e8ee7292c716473a202129a95d30a42367c31d04faa3e20413897668",
                "md5": "adb60f737fa76e57fd2f45a3d3049b02",
                "sha256": "9d504fab3882af53934e19d8e046ae4848f7426ad418e29cc0f8fc35056c562a"
            },
            "downloads": -1,
            "filename": "python_reverse_proxy-0.0.5.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "adb60f737fa76e57fd2f45a3d3049b02",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 8435,
            "upload_time": "2024-11-08T07:36:24",
            "upload_time_iso_8601": "2024-11-08T07:36:24.729444Z",
            "url": "https://files.pythonhosted.org/packages/e6/1f/0000e8ee7292c716473a202129a95d30a42367c31d04faa3e20413897668/python_reverse_proxy-0.0.5.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77a6ff8076a9fe0c7f4729d79e005315708de1a95e0701a92a7bef837b79b248",
                "md5": "beb7154853bc45036b3518c7e4cd0d67",
                "sha256": "f4492c261fd5c9e2e5b99c4583b4478011df6cf5b590db7c42afa25bb319b1e7"
            },
            "downloads": -1,
            "filename": "python_reverse_proxy-0.0.5.4.tar.gz",
            "has_sig": false,
            "md5_digest": "beb7154853bc45036b3518c7e4cd0d67",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 6233,
            "upload_time": "2024-11-08T07:36:26",
            "upload_time_iso_8601": "2024-11-08T07:36:26.789610Z",
            "url": "https://files.pythonhosted.org/packages/77/a6/ff8076a9fe0c7f4729d79e005315708de1a95e0701a92a7bef837b79b248/python_reverse_proxy-0.0.5.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-08 07:36:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ChenyangGao",
    "github_project": "web-mount-packs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python-reverse-proxy"
}
        
Elapsed time: 0.45236s