-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (68 loc) · 1.69 KB
/
pyproject.toml
File metadata and controls
76 lines (68 loc) · 1.69 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "docthinker"
dynamic = ["version"]
authors = [
{name = "Zirui Guo"}
]
description = "Doc Thinker: document parsing, graph reasoning, and orchestration"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"huggingface_hub",
"mineru[core]",
"shapely>=2.0.0",
"tqdm",
"rank-bm25",
]
[project.optional-dependencies]
image = ["Pillow>=10.0.0"]
text = ["reportlab>=4.0.0"]
office = [] # Requires LibreOffice (external program)
markdown = [
"markdown>=3.4.0",
"weasyprint>=60.0",
"pygments>=2.10.0",
]
all = [
"Pillow>=10.0.0",
"reportlab>=4.0.0",
"markdown>=3.4.0",
"weasyprint>=60.0",
"pygments>=2.10.0"
]
[project.urls]
Homepage = "https://github.com/Yang-Jiashu/doc-thinker"
Documentation = "https://github.com/Yang-Jiashu/doc-thinker"
Repository = "https://github.com/Yang-Jiashu/doc-thinker"
Issues = "https://github.com/Yang-Jiashu/doc-thinker/issues"
[tool.uv]
dev-dependencies = [
"pytest>=6.0",
"pytest-asyncio",
"black",
"isort",
"flake8",
"mypy",
"openai",
"python-dotenv",
]
[tool.setuptools.packages.find]
include = ["docthinker*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "docthinker.__version__"}
[tool.ruff]
target-version = "py310"