openai-forward

View on PyPIReverse Dependencies (0)

0.8.0 openai_forward-0.8.0-py3-none-any.whl

Wheel Details

Project: openai-forward
Version: 0.8.0
Filename: openai_forward-0.8.0-py3-none-any.whl
Download: [link]
Size: 48453
MD5: b2547fe1c3dc71efd270b771ad6dfc6b
SHA256: 4f1ca8e43a7cd668c498e4a846a22e158e05fe1d37204d3cb6be72dc206c3ccc
Uploaded: 2024-05-15 16:52:56 +0000

dist-info

METADATA

Metadata-Version: 2.3
Name: openai_forward
Version: 0.8.0
Summary: 🚀 OpenAI-Forward 是一个专为大型语言模型设计的高级转发代理,提供包括用户请求速率控制、Token速率限制和自定义API密钥等增强功能。该服务可用于代理本地模型和云端模型。OpenAI API Reverse Proxy
Author-Email: kunyuan <beidongjiedeguang[at]gmail.com>
Project-Url: Homepage, https://github.com/KenyonY/openai-forward
Project-Url: Documentation, https://github.com/KenyonY/openai-forward#openai-forward
Project-Url: Issues, https://github.com/KenyonY/openai-forward/issues
Project-Url: Source, https://github.com/KenyonY/openai-forward
Keywords: OpenAI API Forwarding,chatgpt,fastapi,openai,openai-api,openai-proxy,python,streaming-api
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: aiohttp (>=3.8.5)
Requires-Dist: fastapi (>=0.90.0)
Requires-Dist: fire
Requires-Dist: flaxkv[client] (>=0.2.7)
Requires-Dist: httpx[http2] (>=0.26.0)
Requires-Dist: loguru (>=0.7.0)
Requires-Dist: msgpack
Requires-Dist: orjson (>=3.9)
Requires-Dist: python-dotenv
Requires-Dist: pytz
Requires-Dist: pyzmq
Requires-Dist: rich
Requires-Dist: slowapi (==0.1.9)
Requires-Dist: tiktoken (>=0.5.1)
Requires-Dist: tomli
Requires-Dist: tomli-w
Requires-Dist: uvicorn (>=0.21.0)
Requires-Dist: openai (>=1.3.0); extra == "benchmark"
Requires-Dist: openai (>=1.3.0); extra == "dev"
Requires-Dist: schedule; extra == "dev"
Requires-Dist: sparrow-python; extra == "dev"
Requires-Dist: openai (>=1.3.0); extra == "test"
Requires-Dist: psutil; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-aiohttp; extra == "test"
Requires-Dist: trio; extra == "test"
Requires-Dist: twisted; extra == "test"
Requires-Dist: streamlit (~=1.30.0); extra == "webui"
Provides-Extra: benchmark
Provides-Extra: dev
Provides-Extra: test
Provides-Extra: webui
Description-Content-Type: text/markdown
License-Expression: MIT
License-File: LICENSE
[Description omitted; length: 7938 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.24.2
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
openai_forward/__init__.py sha256=k7ynAmb5pAnoCqbgl_PHYJoua3Y7EVqHvYALoWbrK-s 429
openai_forward/__main__.py sha256=dHb6IaYJnkONLrjQ3L3YT0bzIybhssYG1l2XdAI2h-8 8230
openai_forward/app.py sha256=1zOKPo_17XJEZ6ctYtNuj9m_is-ocX1YJ-je6O8Dkn0 2363
openai_forward/console.py sha256=5wVYumfsU1Z5-mj9TaxJ2IdktPQT-6yxrh16e-WnXRE 2670
openai_forward/custom_slowapi.py sha256=_-cmwR54eXSNWb4WgvWNHKA0r36cq12LaGLXanX4wgo 1551
openai_forward/decorators.py sha256=_RPBok0CFqjRI26LcVslDV9LTn2-MhyPM4RzAf9T3T0 9583
openai_forward/helper.py sha256=7E7OIaqCT4LsxX1rORHwxn47ZwIC1tl2CsxTt2z-qdg 8785
openai_forward/settings.py sha256=2oo4-C8KnMWK1NqTJuyPQ-ndhMJeVTQGCMZjCJw3cPc 6977
openai_forward/cache/__init__.py sha256=5Iai_GGexSbPIF_HtP9eaBOh1yA-QsIaY9IYhQ4OSkw 3032
openai_forward/cache/database.py sha256=E10RfLBqHEaRcOfvgVdbVWlWKUWejv7MwHaywyI-ZFM 654
openai_forward/cache/chat/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
openai_forward/cache/chat/chat_completions.py sha256=bvGFRhnHxURBdgL3B4BBJSdFycMndPnu6yJOB6aUNIM 11425
openai_forward/cache/chat/response.py sha256=cDjPztmQR5f7PMcXww2wBQEcFakpNEhM3xQpmz7QcXY 4256
openai_forward/cache/chat/tokenizer.py sha256=lm8jgg8BiV2vKWkVYbHUskDGfT7pqAa5yp83z3wJels 2139
openai_forward/cache/embedding/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
openai_forward/cache/embedding/response.py sha256=ZVrnrDWNZZ-UIOhWRZigf4ZFA6e5yIxsiTEWB2oa4Ks 1205
openai_forward/config/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
openai_forward/config/interface.py sha256=K3gg0NJsY90CKEDyatUu9nV_js0ifug70-rfXFkwfC0 8018
openai_forward/content/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
openai_forward/content/config.py sha256=kxtJFYG4uxWxWSZWP7i9_-Bx7HmUI6japEKlyZTi4h4 3731
openai_forward/content/helper.py sha256=1iYuSbxsNzmLXY2D4rBb9StWiMUIH9NRNMIXTCN5hJc 1107
openai_forward/content/openai.py sha256=b-vn3RXGGtt74Ti3zM6MVJP-kNRLC_kGCfGBCRY56Ug 14596
openai_forward/forward/__init__.py sha256=nXiA2KX-RcdUpRbOezH-H8EVsaG9yboJGrR9yIOsY2I 2149
openai_forward/forward/core.py sha256=GRvZOJ0DwJV9JKqe313-Z85YenpYeLnnEwv6cvLs20c 22912
openai_forward/webui/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
openai_forward/webui/chat.py sha256=YdzUzI4Wo7qjGQZUZ2YLk7Ay4G5xQaa4qi2suPvZYDU 1740
openai_forward/webui/helper.py sha256=nxH_cp2NBsyLj5e9F1GxruZjiHRysZ3zYdkEuuCHhtw 486
openai_forward/webui/run.py sha256=JoWGTVwEZBzW1FxSCZiurAuXv2k6ZRcG3-sDzbDAGTg 15486
openai_forward-0.8.0.dist-info/METADATA sha256=6yJm83E7EmuaSaRhC2AHRZC79y04T6b7qvYGwhFZlPw 12455
openai_forward-0.8.0.dist-info/WHEEL sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU 87
openai_forward-0.8.0.dist-info/entry_points.txt sha256=ipF_TthN8zNc5D5I3vR6K-VELlBWtHPiLfGeGr_0MXQ 146
openai_forward-0.8.0.dist-info/licenses/LICENSE sha256=8MrwnI4kTRjSmV4DZcuWtnurmWEmFYH5N0loyqTvF_U 1064
openai_forward-0.8.0.dist-info/RECORD

entry_points.txt

aifd = openai_forward.__main__:main
openai-forward = openai_forward.__main__:main
openai_forward = openai_forward.__main__:main