paper-dynasty-card-creation/pyproject.toml
Cal Corum 548d67ac1f fix: load API bearer token from env var instead of hardcoding (#2)
Closes #2

Removes hardcoded bearer token from db_calls.py and .claude/ops-rework/check_prod_missing_ratings.py.
Both files now call load_dotenv() and read PD_API_TOKEN from the environment.
The .env file (already gitignored) already contains the PD_API_TOKEN key.
Added python-dotenv>=1.0.0 to pyproject.toml dependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 03:33:36 -05:00

53 lines
987 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",
# Config
"python-dotenv>=1.0.0",
# AWS
"boto3>=1.35.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"]