plotscribe / pyproject.toml
jkos9's picture
Deploy e846010: AI chat access: GET /api/extract?url= with plain-text result, AI instructions on the page, local file MCP tool
1d60f3a
Raw History Blame Contribute Delete
880 Bytes
[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"