# ================================
# Security - NEVER commit these!
# ================================

# Environment files with API keys
.env
.env.*
!.env.example
*.env

# API keys and credentials
*api_key*
*API_KEY*
*secret*
*SECRET*
*token*
*TOKEN*
credentials/
secrets/
.credentials/

# Personal information
personal/
private/
TODO.md
NOTES.md
*.personal
*.private

# ================================
# Python
# ================================

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.python-version
test_env/
*_env/

# Poetry
poetry.lock
.poetry/

# uv
uv.lock

# pip
pip-log.txt
pip-delete-this-directory.txt

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# ================================
# OCR Specific
# ================================

# OCR output directories
mistral_ocr_output/
*_ocr_output/
output/
results/
extracted/

# Test files and documents
test_documents/
test_output/
test_files/
samples/
*.pdf
*.PDF
*.jpg
*.jpeg
*.JPG
*.JPEG
*.png
*.PNG
*.gif
*.GIF
*.bmp
*.BMP
*.tiff
*.TIFF
*.webp
*.WEBP

# Don't ignore example files
!examples/*.pdf
!examples/*.jpg
!docs/samples/*

# Test scripts (root-level only, not tests/ directory)
/test_*.py
/*_test.py
!tests/test_*.py
!tests/*_test.py
scratch.py
debug.py
temp.py

# ================================
# IDE and Editors
# ================================

# VSCode
.vscode/
*.code-workspace

# PyCharm
.idea/
*.iml

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

# Vim
*.swp
*.swo
*~
.*.swp

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

# ================================
# Operating System
# ================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
.directory
.Trash-*
.nfs*

# ================================
# Logs and Temporary Files
# ================================

# Logs
*.log
logs/
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Temporary files
*.tmp
*.temp
*.bak
*.backup
*.old
tmp/
temp/

# ================================
# Project Specific
# ================================

# Announcement and social media templates
ANNOUNCEMENT.md
announcement.md
social_media.md

# Installation script outputs
install.log

# Local configuration
config.local.json
settings.local.json

# Database files
*.db
*.sqlite
*.sqlite3

# Cache directories
.cache/
cache/

# Session files
session_*
.session_*