-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (91 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
99 lines (91 loc) · 2.1 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
[project]
name = "MineContext"
version = "0.1.0"
description = "An open-source, proactive context-aware AI partner"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "MineContext Team" }
]
keywords = ["AI", "context", "automation", "productivity"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pydantic",
"loguru",
"pyyaml",
"pandas",
"fastapi",
"uvicorn",
"openai",
"jinja2",
"json-repair",
"ddgs",
"pypdf",
"openpyxl",
"chromadb",
"qdrant-client",
"mss",
"volcengine",
"pillow",
"imagehash",
"pypdfium2>=4.30.0",
"python-docx>=1.0.0",
"python-multipart",
"playwright",
"volcengine-python-sdk[ark]",
]
[project.optional-dependencies]
dev = [
"black>=24.8.0",
"isort>=5.13.0",
"pre-commit>=3.6.0",
]
[project.scripts]
opencontext = "opencontext.cli:main"
[project.urls]
Homepage = "https://github.com/volcengine/MineContext"
Repository = "https://github.com/volcengine/MineContext"
Issues = "https://github.com/volcengine/MineContext/issues"
Documentation = "https://github.com/volcengine/MineContext"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["opencontext"]
# Black - 代码格式化工具
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312", "py313"]
include = '\.pyi?$'
extend-exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| node_modules
| frontend
)/
'''
# isort - import 语句排序工具
[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
known_first_party = ["opencontext"]
extend_skip_glob = ["frontend/*", "node_modules/*"]