docfield_extract / pyproject.toml
kenzychew's picture
rename package doc_agent -> docfield, distribution -> docfield-extract
b6beb2d
Raw
History Blame Contribute Delete
1.13 kB
[project]
name = "docfield-extract"
version = "0.1.0"
description = "Key-value field extraction from business documents."
readme = "README.md"
authors = [
{ name = "Kenneth Chew", email = "kennethzy_chew@aiap.sg" }
]
requires-python = ">=3.11"
dependencies = [
"datasets[vision]>=5.0.0",
"docling>=2.107.0",
"google-genai>=2.10.0",
"gradio>=6.19.0",
"pillow>=12.2.0",
"pydantic>=2.13.4",
"pydantic-settings>=2.14.2",
"watchdog>=6.0.0",
]
[build-system]
requires = ["uv_build>=0.9.7,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
# The distribution is `docfield-extract` but the import package is `docfield`.
# Without this the backend would infer `docfield_extract` from the project name
# and fail to find the package under src/.
module-name = "docfield"
[tool.ruff]
line-length = 100
[tool.pytest.ini_options]
testpaths = ["tests"]
# Repo root on the path so tests can import the top-level `eval` package
# (the harness lives at ./eval, outside the installed src/docfield package).
pythonpath = ["."]
[dependency-groups]
dev = [
"pytest>=9.1.1",
"ruff>=0.15.20",
]