Introduces new pd-cards CLI tool for all card creation workflows: - custom: manage fictional character cards via YAML profiles - live-series: live season card updates (stub) - retrosheet: historical data processing (stub) - scouting: scouting report generation (stub) - upload: S3 card image upload (stub) Key features: - Typer-based CLI with auto-generated help and shell completion - YAML profiles for custom characters (replaces per-character Python scripts) - Preview, submit, new, and list commands for custom cards - First character migrated: Kalin Young Install with: uv pip install -e . Run with: pd-cards --help 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
57 lines
929 B
TOML
57 lines
929 B
TOML
[project]
|
|
name = "pd-cards"
|
|
version = "0.1.0"
|
|
description = "Paper Dynasty card creation CLI"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
# CLI
|
|
"typer[all]>=0.12.0",
|
|
"pyyaml>=6.0",
|
|
"rich>=13.0",
|
|
|
|
# Data processing
|
|
"pandas>=2.2.0",
|
|
"numpy>=2.0.0",
|
|
"polars>=1.0.0",
|
|
|
|
# Web/API
|
|
"aiohttp>=3.10.0",
|
|
"requests>=2.32.0",
|
|
|
|
# Database
|
|
"peewee>=3.17.0",
|
|
|
|
# Baseball data
|
|
"pybaseball>=2.2.7",
|
|
|
|
# Validation
|
|
"pydantic>=2.9.0",
|
|
|
|
# AWS
|
|
"boto3>=1.35.0",
|
|
|
|
# Scraping
|
|
"beautifulsoup4>=4.12.0",
|
|
"lxml>=5.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
pd-cards = "pd_cards.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["pd_cards"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|