Files
bggpipe/pyproject.toml
T
Eric Wagoner b7a1ef8549 Extract stage: vision title + edition-cue extraction, offline-tested
Per-photo raw results cached under data/extract_raw/ (gitignored) so
re-runs are free, --only re-extracts a single photo, and titles.json is
rebuilt with dedupe that keeps conflicting-edition sightings separate.
HEIC converts via pillow-heif; images downscale to <=1568px long edge;
model JSON parsed defensively (code fences, surrounding prose). Vision
callable is injectable — tests use a local fake; the real one uses the
anthropic SDK (approved) with the model from config.toml.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-01 13:10:13 -04:00

41 lines
781 B
TOML

[project]
name = "bggpipe"
version = "0.1.0"
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",
]
[project.scripts]
bggpipe = "bggpipe.cli:app"
[dependency-groups]
dev = [
"pytest>=8",
"ruff>=0.5",
]
[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",
]