The key already persisted across restarts, but the cookie was a session cookie — Safari eventually drops those and the paste ritual returned. The pairing cookie now lasts a year, and startup prints a QR code of the pairing URL (qrcode dep, ASCII render) so a phone pairs by pointing its camera at the terminal. Revoke every paired device by deleting data/.lan_key. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016jXZFSTZQKzAC8fqpWSz9g
50 lines
988 B
TOML
50 lines
988 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",
|
|
"qrcode>=8.2",
|
|
]
|
|
|
|
[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",
|
|
]
|