-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.09 KB
/
pyproject.toml
File metadata and controls
50 lines (43 loc) · 1.09 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
[project]
name = "ocr-bench"
version = "0.0.3"
description = "OCR model evaluation toolkit — VLM-as-judge with per-dataset leaderboards"
readme = "README.md"
authors = [
{ name = "Daniel van Strien", email = "davanstrien@gmail.com" }
]
requires-python = ">=3.11"
license = "Apache-2.0"
dependencies = [
"datasets>=4.0.0",
"huggingface-hub",
"numpy",
"openai",
"pillow",
"rich",
"scipy",
"stamina",
"structlog",
"tqdm",
]
[project.urls]
Homepage = "https://github.com/davanstrien/ocr-bench"
Repository = "https://github.com/davanstrien/ocr-bench"
Demo = "https://huggingface.co/spaces/davanstrien/ocr-bench-britannica-results-qwen35-viewer"
[project.scripts]
ocr-bench = "ocr_bench.cli:main"
[project.optional-dependencies]
viewer = ["fastapi>=0.115", "uvicorn[standard]>=0.32", "jinja2>=3.1", "python-multipart>=0.0.9"]
[build-system]
requires = ["uv_build>=0.9.27,<0.10.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"ruff>=0.11",
"ty>=0.0.17",
]