-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 1.89 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 = "llmaix"
version = "0.0.26"
authors = [
{ name = "Fabian Wolf", email = "fabian.wolf2@tu-dresden.de" }
]
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dependencies = [
"markitdown[docx, xlsx, xls, pdf]~=0.1.2",
"click~=8.2.1",
"pymupdf~=1.26.4",
"pymupdf4llm==0.0.27",
"ocrmypdf~=16.10.4",
"openai>=1.102.0",
"pytest>=8.4.1",
"hatchling~=1.27.0",
"filetype>=1.2.0"
]
[project.urls]
Homepage = "http://github.com/KatherLab/llmaixlib"
Documentation = "http://github.com/KatherLab/llmaixlib"
Issues = "http://github.com/KatherLab/llmaixlib/issues"
[build-system]
requires = ["hatchling ~= 1.27.0"]
build-backend = "hatchling.build"
[project.scripts]
llmaix = "llmaix.cli:main"
[tool.hatch.version]
path = "src/llmaix/__version__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/llmaix"]
[dependency-groups]
dev = [
"ruff>=0.12.10",
"ty~=0.0.1a19",
"pytest~=8.4.1",
"pytest-cov~=6.2.1",
"isort~=6.0.1",
]
marker = [
"marker-pdf[full]~=1.8.5",
]
docling = [
"docling~=2.47.0",
"rapidocr~=3.3.1",
"onnxruntime",
"rapidocr_onnxruntime"
]
# CPU-only Paddle for the paddleocr extra
paddleocr = [
"paddleocr>=3.2.0",
"paddlepaddle==3.1.1",
"paddlex[ocr]"
]
[project.optional-dependencies]
dev = [
"pytest~=8.4.1",
"pytest-cov~=6.2.1",
"ruff~=0.12.10",
"ty~=0.0.1a19",
"isort~=6.0.1",
]
marker = ["marker-pdf[full]~=1.8.5"]
docling = [
"docling~=2.47.0",
"rapidocr~=3.3.1",
"onnxruntime",
"rapidocr_onnxruntime"
]
paddleocr = [
"paddleocr>=3.2.0",
"paddlepaddle==3.1.1",
"paddlex[ocr]"
]
all = ["llmaix[dev,marker,docling,paddleocr]"]
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning"
]