-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Copy pathpyproject.toml
189 lines (183 loc) · 4.19 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[project]
name = "dbgpt"
version = "0.7.1"
description = """DB-GPT is an experimental open-source project that uses localized GPT \
large models to interact with your data and environment. With this solution, you can be\
assured that there is no risk of data leakage, and your data is 100% private and secure.\
"""
authors = [
{ name = "csunny", email = "[email protected]" }
]
license = "MIT"
readme = "README.md"
requires-python = ">= 3.10"
dependencies = [
"aiohttp==3.8.4",
"chardet==5.1.0",
"importlib-resources==5.12.0",
"python-dotenv==1.0.0",
"cachetools",
"pydantic>=2.6.0",
# For AWEL type checking
"typeguard",
# Snowflake no additional dependencies.
"snowflake-id",
"typing_inspect",
"tomli>=2.2.1",
]
[project.urls]
Homepage = "https://github.com/eosphoros-ai/DB-GPT"
Documentation = "http://docs.dbgpt.cn/docs/overview"
Repository = "https://github.com/eosphoros-ai/DB-GPT.git"
Issues = "https://github.com/eosphoros-ai/DB-GPT/issues"
[project.optional-dependencies]
client = [
"httpx",
"fastapi>=0.100.0,<0.113.0",
"tenacity<=8.3.0"
]
cli = [
"prettytable",
"click",
"psutil==5.9.4",
"colorama==0.4.6",
"tomlkit",
"rich",
]
agent = [
"termcolor",
"pandas==2.0.3",
# numpy should less than 2.0.0
"numpy>=1.21.0,<2.0.0",
"auto-gpt-plugin-template>=0.0.3",
"mcp>=1.4.1",
]
simple_framework = [
"jinja2",
"uvicorn",
"shortuuid",
# 2.0.29 not support duckdb now
"SQLAlchemy>=2.0.25, <2.0.29",
# for cache
"msgpack",
# for AWEL operator serialization
"cloudpickle",
# for cache
# TODO: pympler has not been updated for a long time and needs to
# find a new toolkit.
"pympler",
"duckdb",
"duckdb-engine==0.9.1",
# lightweight python library for scheduling jobs
"schedule",
# For datasource subpackage
"sqlparse==0.4.4",
"python-multipart",
]
framework = [
"coloredlogs",
"seaborn",
"auto-gpt-plugin-template",
"gTTS==2.3.1",
"pymysql",
"jsonschema",
"python-jsonpath",
# TODO move transformers to default
"tokenizers>=0.14",
"alembic==1.12.0",
# for excel
"openpyxl==3.1.2",
"xlrd==2.0.1",
"aiofiles",
# for agent
"GitPython",
# For AWEL dag visualization, graphviz is a small package, also we can move it to default.
"graphviz",
# For security
"cryptography",
# For high performance RPC communication in code execution
"pyzmq",
]
hf = [
"transformers>=4.46.0",
"sentencepiece",
"sentence-transformers",
]
code = [
"msgpack",
# for AWEL operator serialization
"cloudpickle",
"lyric-py>=0.1.7",
"lyric-py-worker>=0.1.7",
"lyric-js-worker>=0.1.7",
"lyric-component-ts-transpiling>=0.1.7",
]
llama_cpp = [
"llama-cpp-python",
]
llama_cpp_server = [
"llama-cpp-server-py-core>=0.1.3",
"llama-cpp-server-py>=0.1.3",
]
proxy_ollama = ["ollama"]
proxy_zhipuai = ["zhipuai>=2.1.5"]
proxy_tongyi = [
# tongyi supported by openai package
"openai",
# For tongyi proxy embedding model
"dashscope",
]
proxy_qianfan = ["qianfan"]
proxy_openai = [
"openai>=1.59.6",
"tiktoken>=0.8.0",
"httpx[socks]",
]
proxy_anthropic = ["anthropic"]
# For vision-language models
model_vl = [
"pillow",
"librosa"
]
hf_qwen_omni = [
# 4.52.0 not released yet, you can install by
# uv pip install git+https://github.com/huggingface/[email protected]
# "transformers>=4.52.0",
]
hf_glm4 = [
"transformers>=4.51.3",
]
hf_kimi = [
"tiktoken",
"blobfile",
"transformers<4.51.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
managed = true
dev-dependencies = []
default-groups = ["dev"]
conflicts = [
[
{ extra = "hf_qwen_omni" },
{ extra = "hf_kimi" },
],
[
{ extra = "hf_glm4" },
{ extra = "hf_kimi" },
],
]
[tool.hatch.build.targets.wheel]
packages = ["src/dbgpt"]
exclude = [
"src/dbgpt/**/tests",
"src/dbgpt/**/tests/*",
"src/dbgpt/tests",
"src/dbgpt/tests/*",
"src/dbgpt/**/examples",
"src/dbgpt/**/examples/*"
]
[project.scripts]
dbgpt = "dbgpt.cli.cli_scripts:main"