-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (51 loc) · 1.54 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (51 loc) · 1.54 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
[project]
name = "docmetry"
version = "0.1.0"
description = "A standalone evaluation harness for document intelligence pipelines"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy>=2.0",
"pydantic>=2.7",
"pyyaml>=6.0",
"rapidfuzz>=3.9",
"rich>=13.7",
"typer>=0.12",
]
[project.optional-dependencies]
extract = [
"docling[rapidocr]>=2.15",
"pypdfium2>=4",
]
docling = ["docling[rapidocr]>=2.15", "pypdfium2>=4"]
pypdf = ["pypdf>=5"]
pdfplumber = ["pdfplumber>=0.11"]
pdfminer = ["pdfminer.six>=20231228"]
pdf-inspector = ["pdf-inspector>=0.2.6", "pypdf>=5", "pypdfium2>=4", "rapidocr>=3.9", "onnxruntime>=1.17"]
firecrawl = ["firecrawl-anydoc>=0.1.7", "pypdf>=5", "pypdfium2>=4", "rapidocr>=3.9", "onnxruntime>=1.17"]
all-providers = [
"docling[rapidocr]>=2.15", "pypdfium2>=4", "pypdf>=5",
"pdfplumber>=0.11", "pdfminer.six>=20231228",
"pdf-inspector>=0.2.6", "rapidocr>=3.9", "onnxruntime>=1.17", "firecrawl-anydoc>=0.1.7",
]
vision = [
"google-genai>=1.0",
"pypdfium2>=4",
]
gemini = ["google-genai>=1.0"]
openai = ["openai>=1.0"]
anthropic = ["anthropic>=0.40"]
semantic = ["google-genai>=1.0", "openai>=1.0", "anthropic>=0.40"]
dev = ["pytest>=8.2", "ruff>=0.15,<0.16"]
[project.scripts]
docmetry = "docmetry.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["evaluator/src/docmetry"]
[tool.pytest.ini_options]
testpaths = ["evaluator/tests"]
[tool.ruff]
line-length = 88
src = ["evaluator/src", "evaluator/tests"]