File size: 880 Bytes
6f423bd
 
 
 
 
 
 
 
 
 
ba4df06
6f423bd
 
 
 
 
 
 
 
 
 
7c6d5e4
6f423bd
1d60f3a
6f423bd
 
 
1d60f3a
6f423bd
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[project]
name = "plotscribe"
version = "0.1.0"
description = "Fully automatic chart image -> CSV extraction with classical computer vision"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
    "numpy>=1.26",
    "opencv-python-headless>=4.8",
    "scipy>=1.11",
    "pandas>=2.0",
    "pytesseract>=0.3.10",
    "typer>=0.12",
]

[project.optional-dependencies]
dev = ["pytest>=8", "matplotlib>=3.8", "pillow>=10", "pyarrow>=14"]
paddle = ["paddleocr>=2.7"]
web = ["fastapi>=0.110", "uvicorn>=0.29", "python-multipart>=0.0.9", "mcp>=2.3,<3"]

[project.scripts]
plotscribe = "plotscribe.cli:app"
plotscribe-mcp = "plotscribe.mcp_server:main"

[tool.setuptools]
packages = ["plotscribe"]

[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"