6ecdd43ed2
A dashboard at / joins the review page (now at /review): drag-and-drop photo upload (re-uploading a photo drops its raw cache so extract re-reads it), per-stage status cards fed by /api/pipeline (counts and key NAMES only — never values), and run buttons that execute stages one-at-a-time in a background JobRunner with captured output streamed to the page. The real upload sits behind a confirmation, defaults to dry-run at the API layer, and stays disabled while stub data is present. The CLI is unchanged and shares all state with the web UI. python-multipart joins the deps for the upload endpoint; RunBody lives at module scope because postponed annotations keep FastAPI from resolving function-local models. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
49 lines
969 B
TOML
49 lines
969 B
TOML
[project]
|
|
name = "bggpipe"
|
|
dynamic = ["version"]
|
|
description = "Shelf-to-BGG collection pipeline: photos in, BoardGameGeek collection out"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"typer>=0.12",
|
|
"httpx>=0.27",
|
|
"rapidfuzz>=3.9",
|
|
"defusedxml>=0.7.1",
|
|
"anthropic>=0.120.2",
|
|
"pillow>=12.3.0",
|
|
"pillow-heif>=1.5.0",
|
|
"rich>=15.0.0",
|
|
"fastapi>=0.141.1",
|
|
"uvicorn>=0.52.1",
|
|
"playwright>=1.62.0",
|
|
"pydantic>=2.13.4",
|
|
"python-multipart>=0.0.32",
|
|
]
|
|
|
|
[project.scripts]
|
|
bggpipe = "bggpipe.cli:app"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"ruff>=0.5",
|
|
]
|
|
|
|
[tool.hatch.version]
|
|
path = "src/bggpipe/__init__.py"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
markers = [
|
|
"live: hits the real BGG API; skipped unless --run-live is passed",
|
|
]
|