forked from KenyonY/openai-forward
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (75 loc) · 1.98 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openai_forward"
description = "🚀 OpenAI-Forward 是一个专为大型语言模型设计的高级转发代理,提供包括用户请求速率控制、Token速率限制和自定义API密钥等增强功能。该服务可用于代理本地模型和云端模型。OpenAI API Reverse Proxy"
authors = [
{ name = "kunyuan", email = "[email protected]" },
]
license = "MIT"
requires-python = ">=3.8"
readme = "README.md"
keywords = ["openai", "chatgpt", "openai-api", "openai-proxy", "OpenAI API Forwarding", "streaming-api", "fastapi", "python"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3"
]
dependencies = [
"loguru>=0.7.0",
"fastapi>=0.90.0",
"uvicorn>=0.21.0",
"orjson>=3.9",
"python-dotenv",
"rich",
"fire",
"pytz",
"slowapi==0.1.8",
"aiohttp>=3.8.5",
"flaxkv>=0.1.8",
"msgpack",
"tiktoken>=0.5.1",
"tomli",
"tomli-w",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/KenyonY/openai-forward"
Documentation = "https://github.com/KenyonY/openai-forward#openai-forward"
Issues = "https://github.com/KenyonY/openai-forward/issues"
Source = "https://github.com/KenyonY/openai-forward"
[project.optional-dependencies]
test = [
"pytest",
"pytest-aiohttp",
"twisted",
"trio",
"psutil",
"openai>=1.3.0",
]
benchmark = [
"openai>=1.3.0",
"tiktoken",
]
dev = [
"openai>=1.3.0",
"sparrow-python",
"schedule",
]
[project.scripts]
openai_forward = "openai_forward.__main__:main"
openai-forward = "openai_forward.__main__:main"
aifd = "openai_forward.__main__:main"
[tool.hatch.version]
path = "openai_forward/__init__.py"
[tool.isort]
profile = "black"
[tool.hatch.build]
include = [
"openai_forward/**/*.py",
]
exclude = [
]
[tool.hatch.build.targets.wheel]
packages = ["openai_forward"]