# =============================================================================
#  .gitignore — Python + HF model cache + data + environment ignores
# =============================================================================

# ── Python ────────────────────────────────────────────────────────────────────
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg
*.egg-info/
dist/
build/
.eggs/
.pytest_cache/
.mypy_cache/
.ruff_cache/
*.pyo
*.pyd
.Python
pip-log.txt
pip-delete-this-directory.txt

# ── Virtual environments ──────────────────────────────────────────────────────
.venv/
venv/
env/
ENV/
.env.local
.env.production

# ── Environment / secrets ─────────────────────────────────────────────────────
.env
# .env.example is intentionally NOT ignored (it is a template, not secrets).

# ── Hugging Face model cache ─────────────────────────────────────────────────
# Weights can be hundreds of MB — never commit them.
.cache/
~/.cache/huggingface/
hf_cache/
model_cache/
*.bin
*.safetensors
*.pt
*.pth
*.ckpt

# ── Data ─────────────────────────────────────────────────────────────────────
data/
datasets/
*.csv
*.tsv
*.parquet
*.arrow
*.jsonl

# ── Outputs / results ────────────────────────────────────────────────────────
outputs/
results/
logs/
*.log

# ── Images (generated or downloaded, not source assets) ──────────────────────
# Comment out if you want to track sample images in the repo.
# *.jpg
# *.jpeg
# *.png
# *.bmp
# *.webp

# ── Jupyter notebooks (checkpoints) ──────────────────────────────────────────
.ipynb_checkpoints/
*.ipynb

# ── IDE / OS ─────────────────────────────────────────────────────────────────
.idea/
.vscode/
*.swp
*.swo
.DS_Store
Thumbs.db
desktop.ini
