# ==============================================================================
# SID-AI — Universal Engineering Drawing Intelligence Platform
# Git Ignore Configuration
# ==============================================================================

# ------------------------------------------------------------------------------
# 1. Byte-Compiled / Python Runtime Cache
# ------------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so

# ------------------------------------------------------------------------------
# 2. Environment Variables, Secrets & API Credentials
# NEVER COMMIT REAL API KEYS OR PRODUCTION SECRETS TO REPOSITORY!
# ------------------------------------------------------------------------------
.env
.env.local
.env.development
.env.test
.env.production
.env.*
!.env.example

# ------------------------------------------------------------------------------
# 3. Python Virtual Environments
# ------------------------------------------------------------------------------
pid_env/
venv/
.venv/
env/
ENV/
env.bak/
venv.bak/

# ------------------------------------------------------------------------------
# 4. Storage, Temporary Uploads & Output Deliverables
# ------------------------------------------------------------------------------
uploads/
/outputs/
rasterized/
temp/
tmp/
runs/
pid_stuff/

# Training intermediate plots and caches (preserve weights and configs)
training/outputs/**/*.jpg
training/outputs/**/*.png
training/outputs/**/*.cache
training/outputs/annotations/
training/outputs/yolo_runs/**/weights/last.pt
training/outputs/yolo_runs/*_run_*/


# ------------------------------------------------------------------------------
# 5. Databases, Execution Logs & Runtime Metrics
# ------------------------------------------------------------------------------
*.db
*.sqlite
*.sqlite3
extraction_history.db
*.log
install_log.txt

# ------------------------------------------------------------------------------
# 6. Local Scratchpads & Debugging Scripts
# ------------------------------------------------------------------------------
debug_*.py
scratch/
crops/
mock_drawing.png

# ------------------------------------------------------------------------------
# 7. IDE & Text Editor Files
# ------------------------------------------------------------------------------
.vscode/
.idea/
.claude/
*.swp
*.swo
*~
.project
.pydevproject
.settings/

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