-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (50 loc) · 1.15 KB
/
pyproject.toml
File metadata and controls
53 lines (50 loc) · 1.15 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
[project]
name = "plextract"
version = "0.1"
description = "Extract data points from line chart images using ML"
readme = "README.md"
authors = [
{ name = "Timon Schneider", email = "mail@timonschneider.de" }
]
requires-python = ">=3.10,<3.11"
# Base dependencies - minimal set for core utilities
dependencies = [
"matplotlib>=3.10.0",
"pytest>=9.0.1",
"scipy>=1.9.3",
]
[project.optional-dependencies]
# For running the pipeline locally with ML models
local = [
"torch==1.13.1",
"torchvision==0.14.1",
"numpy==1.23.5",
"transformers~=4.38.2",
"opencv-python>=4.0.0",
"huggingface_hub>=0.20.0",
"Pillow>=9.0.0",
"scikit-image>=0.19.0",
"bresenham>=0.2.0",
"tqdm>=4.65.0",
"chardet>=5.0.0",
"openmim>=0.3.9",
"tomli>=2.0.1",
"mmdet==2.28.2",
"lineformer @ git+https://github.com/tdsone/LineFormer.git",
]
# For running the pipeline on Modal (cloud)
modal = [
"modal>=1.2.4",
]
# Install everything
all = [
"plextract[local,modal]",
]
[build-system]
requires = ["uv_build>=0.9.5,<0.10.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"ruff>=0.14.6",
"ipykernel>=7.1.0",
]