# Python bytecode and caches
__pycache__/
**/__pycache__/
*.py[cod]
*$py.class

# Test, type-check, and coverage outputs
.pytest_cache/
.mypy_cache/
.ruff_cache/
.hypothesis/
.coverage
.coverage.*
htmlcov/
coverage.xml
pytestdebug.log

# Virtual environments
.venv/
venv/
env/
ENV/

# Local environment files
.env
.env.*
!.env.example

# SQLite and local runtime data
*.db
*.db-*
*.sqlite
*.sqlite3
data/

# Logs and process artifacts
logs/
*.log
*.out
*.pid
*.pid.lock

# Local backups and temporary patch files
*.bak
*.bak_*
*.tmp
*.tmp.*
.tmp_*

# Editor and OS files
.DS_Store
Thumbs.db
*.swp
*.swo
.idea/
.vscode/

# Build and packaging artifacts
build/
dist/
*.egg-info/

# Project-specific scratch / archive directories
archive/
backups/
tmp/
legacy/scratch/
reports/*.json
