paper-dynasty-card-creation/pyproject.toml
Cal Corum e3220bf337 Remove hardcoded secrets, load API token from environment
- Replace hardcoded PD API bearer token in db_calls.py with dotenv/env var
- Delete scripts/supabase_doodling.py (dead scratch file with hardcoded Supabase JWT)
- Add python-dotenv dependency and .env.example template
- Consolidate check_prod_missing_ratings.py to import AUTH_TOKEN from db_calls
- Hard fail if PD_API_TOKEN is missing to prevent silent auth failures

Fixes #2, Fixes #3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:38:01 -05:00

53 lines
992 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",
# Environment
"python-dotenv>=1.0.0",
# Scraping
"beautifulsoup4>=4.12.0",
"lxml>=5.0.0",
"selenium>=4.40.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"]