# ==========================================
# Python cache and compiled files
# ==========================================
__pycache__/
*.py[cod]
*$py.class
*.so
*.pyd

# ==========================================
# Virtual environments
# ==========================================
venv/
env/
ENV/
.venv/
.env/
virtualenv/
.conda/
conda-env/

# ==========================================
# Environment variables and secrets
# ==========================================
.env
.env.*
!.env.example
*.pem
*.key
credentials.json
secrets.json

# ==========================================
# Jupyter notebooks and checkpoints
# ==========================================
*.ipynb
.ipynb_checkpoints/
.jupyter/
.ipython/

# ==========================================
# Model checkpoints and weights
# ==========================================
*.pt
*.pth
*.ckpt
*.safetensors
*.h5
*.hdf5
*.onnx
*.pkl
*.pickle
*.joblib

# ==========================================
# Datasets and generated training data
# ==========================================
data/
datasets/
checkpoints/
outputs/
runs/
wandb/
lightning_logs/
tensorboard/
events.out.tfevents.*
*.tfrecord
*.tfrecords

# ==========================================
# Python packaging and builds
# ==========================================
build/
dist/
*.egg-info/
.eggs/
pip-wheel-metadata/

# ==========================================
# Testing and coverage
# ==========================================
.pytest_cache/
.mypy_cache/
.ruff_cache/
.tox/
.nox/
.coverage
.coverage.*
htmlcov/
coverage.xml
test-results/

# ==========================================
# IDE and editor files
# ==========================================
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# ==========================================
# Logs and temporary files
# ==========================================
*.log
logs/
tmp/
temp/
*.tmp
*.bak
*.backup
*.pid

# ==========================================
# Local configuration
# ==========================================
.python-version
