# Python emby reverse proxy.
## 安装
你可以通过 [pypi](https://pypi.org/project/python-emby-proxy/) 安装
```console
pip install -U python-emby-proxy
```
## 用法
### 命令行使用
```console
$ emby-proxy -h
usage: emby-proxy [-h] [-H HOST] [-P PORT] [-d] [-c UVICORN_RUN_CONFIG_PATH] [-v] [-l] [base-url]
📺 Emby 反向代理 🎬
positional arguments:
base-url 被代理的 Emby 服务的 base_url,默认值:'http://localhost:8096'
options:
-h, --help show this help message and exit
-H HOST, --host HOST ip 或 hostname,默认值:'0.0.0.0'
-P PORT, --port PORT 端口号,默认值:8097,如果为 0 则自动确定
-d, --debug 启用调试,会输出更详细信息
-c UVICORN_RUN_CONFIG_PATH, -uc UVICORN_RUN_CONFIG_PATH, --uvicorn-run-config-path UVICORN_RUN_CONFIG_PATH
uvicorn 启动时的配置文件路径,会作为关键字参数传给 `uvicorn.run`,支持 JSON、YAML 或 TOML 格式,会根据扩展名确定,不能确定时视为 JSON
-v, --version 输出版本号
-l, --license 输出授权信息
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-emby-proxy",
"name": "python-emby-proxy",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "emby, reverse proxy",
"author": "ChenyangGao",
"author_email": "wosiwujm@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e1/42/c3149f3eacde366ea5197e3a7dda9c41d64741eed0dff80dd59679de682d/python_emby_proxy-0.0.3.tar.gz",
"platform": null,
"description": "# Python emby reverse proxy.\n\n## \u5b89\u88c5\n\n\u4f60\u53ef\u4ee5\u901a\u8fc7 [pypi](https://pypi.org/project/python-emby-proxy/) \u5b89\u88c5\n\n```console\npip install -U python-emby-proxy\n```\n\n## \u7528\u6cd5\n\n### \u547d\u4ee4\u884c\u4f7f\u7528\n\n```console\n$ emby-proxy -h\nusage: emby-proxy [-h] [-H HOST] [-P PORT] [-d] [-c UVICORN_RUN_CONFIG_PATH] [-v] [-l] [base-url]\n\n\t\t\ud83d\udcfa Emby \u53cd\u5411\u4ee3\u7406 \ud83c\udfac\n\npositional arguments:\n base-url \u88ab\u4ee3\u7406\u7684 Emby \u670d\u52a1\u7684 base_url\uff0c\u9ed8\u8ba4\u503c\uff1a'http://localhost:8096'\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\u9ed8\u8ba4\u503c\uff1a8097\uff0c\u5982\u679c\u4e3a 0 \u5219\u81ea\u52a8\u786e\u5b9a\n -d, --debug \u542f\u7528\u8c03\u8bd5\uff0c\u4f1a\u8f93\u51fa\u66f4\u8be6\u7ec6\u4fe1\u606f\n -c UVICORN_RUN_CONFIG_PATH, -uc UVICORN_RUN_CONFIG_PATH, --uvicorn-run-config-path UVICORN_RUN_CONFIG_PATH\n uvicorn \u542f\u52a8\u65f6\u7684\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\uff0c\u4f1a\u4f5c\u4e3a\u5173\u952e\u5b57\u53c2\u6570\u4f20\u7ed9 `uvicorn.run`\uff0c\u652f\u6301 JSON\u3001YAML \u6216 TOML \u683c\u5f0f\uff0c\u4f1a\u6839\u636e\u6269\u5c55\u540d\u786e\u5b9a\uff0c\u4e0d\u80fd\u786e\u5b9a\u65f6\u89c6\u4e3a JSON\n -v, --version \u8f93\u51fa\u7248\u672c\u53f7\n -l, --license \u8f93\u51fa\u6388\u6743\u4fe1\u606f\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python emby reverse proxy.",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-emby-proxy",
"Repository": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-emby-proxy"
},
"split_keywords": [
"emby",
" reverse proxy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d3cdf54291ec5ece24d929d69b734ef6e0246e866303746b6f1dc89b3e95bc3b",
"md5": "e91c06218fb168e7cc4e82aa145c9efc",
"sha256": "a7796cf80cf55b9a201362c1ae50edc7374b43531435d99bf99c8153d5f1a23f"
},
"downloads": -1,
"filename": "python_emby_proxy-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e91c06218fb168e7cc4e82aa145c9efc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 41793,
"upload_time": "2025-01-06T13:51:00",
"upload_time_iso_8601": "2025-01-06T13:51:00.623279Z",
"url": "https://files.pythonhosted.org/packages/d3/cd/f54291ec5ece24d929d69b734ef6e0246e866303746b6f1dc89b3e95bc3b/python_emby_proxy-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e142c3149f3eacde366ea5197e3a7dda9c41d64741eed0dff80dd59679de682d",
"md5": "7c58570aff649e1c14b0733838a01189",
"sha256": "e617b99f8e1452471fe097a64c6e3f902b1f239fde6cd8e329364eff3bf269ef"
},
"downloads": -1,
"filename": "python_emby_proxy-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "7c58570aff649e1c14b0733838a01189",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 28543,
"upload_time": "2025-01-06T13:51:03",
"upload_time_iso_8601": "2025-01-06T13:51:03.028695Z",
"url": "https://files.pythonhosted.org/packages/e1/42/c3149f3eacde366ea5197e3a7dda9c41d64741eed0dff80dd59679de682d/python_emby_proxy-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-06 13:51:03",
"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-emby-proxy"
}