[project]
name = "bggpipe"
dynamic = ["version"]
description = "Shelf-to-BGG collection pipeline: photos in, BoardGameGeek collection out"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.12"
authors = [{ name = "Eric Wagoner", email = "eric@ericwagoner.com" }]
keywords = ["boardgamegeek", "bgg", "board-games", "collection", "vision", "cataloging"]
classifiers = [
    # Beta is deliberate while the user base is one person on one platform,
    # however battle-tested that person's collection is
    "Development Status :: 4 - Beta",
    "Environment :: Console",
    "Environment :: Web Environment",
    "Intended Audience :: End Users/Desktop",
    "Operating System :: MacOS",
    "Operating System :: POSIX :: Linux",
    "Programming Language :: Python :: 3.12",
    "Topic :: Games/Entertainment :: Board Games",
]

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.urls]
Homepage = "https://kestrelsnest.social"
Repository = "https://git.kestrelsnest.social/eric/bggpipe"
Documentation = "https://git.kestrelsnest.social/eric/bggpipe/src/branch/main/docs/guide.md"
Mastodon = "https://toots.kestrelsnest.social/@eric"
Bluesky = "https://bsky.app/profile/kestrelsnest.social"

[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",
]
