# Python
__pycache__/
*.py[cod]
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.installed.cfg
*.egg-info/
.eggs/
*.manifest
*.spec

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

# IDE
.idea/
.vscode/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Data and uploads (NEVER commit user documents or vector indexes)
data/uploads/
data/vectors/
backend/data/uploads/
backend/data/vectors/
backend/data/*.db
backend/data/*.db-wal
backend/data/*.db-shm
backend/data/huggingface/
.cache/
*.faiss
*_meta.json
registry.json
*.db
*.db-wal
*.db-shm
*.sqlite
*.sqlite-wal
*.sqlite-shm
*.sqlite3

# Environment variables and secrets
.env
.env.*
**/.env
**/.env.*
!**/.env.example
!**/.env.sample
!**/.env.*.example
!**/.env.*.sample

# Logs
*.log
logs/

# Testing
.pytest_cache/
.coverage
htmlcov/

# Frontend
frontend/node_modules/
frontend/.next/
frontend/out/
frontend/build/
frontend/.env.local

# Testing scratch data
tests/data/
tests/ocr_tests/*
!tests/ocr_tests/nep.png
tests/tmp_graph/
tests/tmp_search/

# Agent / Tooling scratch
.claude/
.codex/
.playwright-mcp/
.impeccable/
.tasklist*.md

# Documentation assets (orphaned screenshots, not referenced in docs or README)
docs/assets/

# Test artifacts (regenerated on each test run)
tests/nepali_ocr_verify.png
tests/test_gen_current.png
tests/nep_exact_repro.png
tests/e2e_results.json

# Temporary browser/Playwright check scripts (session artefacts, never committed)
frontend/check_*.py
frontend/test_*.py
frontend/generate_blank_form.py
frontend/src/components/workspace/original_page_1.png
font_test.png
