-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
165 lines (157 loc) · 3.95 KB
/
pyproject.toml
File metadata and controls
165 lines (157 loc) · 3.95 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "chattool"
dynamic = ["version"]
authors = [
{name = "Rex Wang", email = "1073853456@qq.com"}
]
description = "Toolkit for Chat API"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only"
]
keywords = ["chattool"]
license = {text = "MIT license"}
dependencies = [
"Click>=7.0",
"requests>=2.20",
"python-dotenv>=0.17.0",
"colorama",
"platformdirs>=3.0",
"httpx",
"tomli; python_version < '3.11'",
]
[project.optional-dependencies]
interactive = [
"questionary>=2.1.0",
"prompt_toolkit",
]
batch = [
"batch_executor>=0.3.0",
"filelock",
]
dns = [
"aiohttp>=3.8",
"cryptography",
"netifaces",
"alibabacloud_alidns20150109>=3.5.10",
"alibabacloud_tea_openapi>=0.3.0",
"tencentcloud-sdk-python",
]
lark = [
"lark-oapi==1.5.3",
"flask",
]
images = [
"dashscope"
]
screenshot = [
"selenium",
"pillow",
"imageio"
]
browser = [
"selenium",
"pillow",
"imageio",
"playwright"
]
serve = [
"fastapi",
"uvicorn",
"pydantic>=2.0.0",
]
mcp = [
"fastmcp; python_version >= '3.10'",
]
github = [
"PyGithub",
]
client = [
"gitpython",
"rich",
]
pypi = [
"build",
"twine",
]
tools = [
"chattool[batch,browser,client,dns,github,images,interactive,lark,mcp,serve,screenshot]",
]
tests = [
"coverage",
"pytest>=3",
"pytest-asyncio",
"pytest-mock",
]
docs = [
"mkdocs>=1.4.0",
"mkdocs-material>=9.0.0",
"mkdocs-minify-plugin>=0.6.0",
"mkdocs-static-i18n>=0.53",
"mkdocs-awesome-pages-plugin>=2.8.0",
"mkdocs-redirects>=1.2.0",
"mike>=1.1.2",
]
dev = [
"wheel",
"build",
"twine",
"chattool[docs,tests,tools]",
]
[project.urls]
Homepage = "https://github.com/cubenlp/chattool"
Repository = "https://github.com/cubenlp/chattool"
[project.scripts]
chattool = "chattool.client:main_cli"
chatpypi = "chattool.client:main_pypi_cli"
chatmcp = "chattool.mcp:main"
[tool.setuptools.dynamic]
version = {attr = "chattool.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
"chattool.setup" = [
"assets/*.sh",
"assets/opencode_chatloop/README.md",
"assets/opencode_chatloop/plugins/chatloop/*",
"assets/opencode_chatloop/commands/*.md",
"workspace/templates/default/zh/*.md",
"workspace/templates/default/zh/projects/*.md",
"workspace/templates/default/en/*.md",
"workspace/templates/default/en/projects/*.md",
"workspace/templates/opencode-loop/zh/*.md",
"workspace/templates/opencode-loop/zh/projects/*.md",
"workspace/templates/opencode-loop/en/*.md",
"workspace/templates/opencode-loop/en/projects/*.md",
]
[tool.pytest.ini_options]
markers = [
"integration: mark test as integration test",
"e2e: mark test as end-to-end test",
"mock_cli: mark test as mock-based cli test",
"dns: mark test as dns test",
"mcp: mark test as mcp test",
"lark: mark test as lark test"
]
filterwarnings = [
"ignore::DeprecationWarning:alibabacloud_tea_openapi.*",
"ignore::DeprecationWarning:tencentcloud.*",
"ignore::UserWarning:tencentcloud.*",
"ignore:pkg_resources is deprecated as an API.*:UserWarning",
"ignore:Deprecated call to `pkg_resources\\.declare_namespace.*:DeprecationWarning",
"ignore:datetime\\.datetime\\.utcfromtimestamp\\(\\) is deprecated.*:DeprecationWarning",
"ignore:websockets.legacy is deprecated:DeprecationWarning",
"ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning",
"ignore:websockets.InvalidStatusCode is deprecated:DeprecationWarning"
]