# ====================
# Python
# ====================
__pycache__/
*.py[cod]
*$py.class
*.so
.Python

# ====================
# Distribution / Packaging
# ====================
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
*.whl

# ====================
# Virtual Environments
# ====================
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/
.virtualenv/
.pyenv/

# ====================
# Testing & Coverage
# ====================
.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.nox/
*.cover
*.log
.hypothesis/
.pytest_cache
coverage.xml
*.coveragerc

# ====================
# Type Checking & Linting
# ====================
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/
.ruff_cache/

# ====================
# IDEs & Editors
# ====================
# VSCode
.vscode/
*.code-workspace

# PyCharm
.idea/
*.iml

# Vim
*.swp
*.swo
*~

# Emacs
*~
\#*\#
.\#*

# Sublime Text
*.sublime-project
*.sublime-workspace

# ====================
# OS Files
# ====================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# ====================
# Environment & Secrets
# ====================
.env
.env.local
.env.*.local
.env.production
.env.development
.env.test
*.pem
*.key
secrets.json
credentials.json

# ====================
# Jupyter Notebooks
# ====================
.ipynb_checkpoints
*.ipynb
notebook/

# ====================
# Documentation Build
# ====================
docs/_build/
docs/.doctrees/
site/
.sphinx/

# ====================
# Local Development
# ====================
scratch/
tmp/
temp/
.cache/
*.local

# ====================
# Project-Specific (Development Only)
# ====================
# Internal documentation (not for public repo)
CODE_REVIEW.md
FIXES_APPLIED.md
STATUS.md
TEST_REPORT.md
PAYMENT_IMPLEMENTATION.md
FINAL_STATUS.md
PRD.md
PRODUCTION_READY.md
AUDIT_REPORT.md

# Temporary scripts
generate_*.py
leave_*.py
test_manual*.py
scratch_*.py

# Test data
test_data/
testdata/
fixtures/local_*

# ====================
# CI/CD
# ====================
.github/workflows/*.local.yml
.gitlab-ci.local.yml

# ====================
# Package Manager Locks (Optional)
# ====================
# Uncomment if you want to ignore lock files
# poetry.lock
# Pipfile.lock
# pdm.lock

# ====================
# Keep These Files
# ====================
!.env.example
!.gitignore
!.gitattributes
test_env/
live_test/
