# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
build/
develop-eggs/
/dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
.pytest_cache/

# Vite / React / Node
gallery_ui/node_modules/
# Keep gallery_ui/dist in git so users can install without rebuilding
!gallery_ui/dist/
!gallery_ui/dist/**

# OS / tooling
.DS_Store
.playwright-cli/

# Runtime data
output/
data/gallery_state.json
data/gallery_state.json.bak-*
data/gallery_index.sqlite3*
data/library_summary_cache.json
data/thumb_cache/
data/trash/
data/trash_state.json

# Python caches in nested folders
py/**/__pycache__/

data/operation_journal/
data/gallery_sources.json
data/catalog.sqlite3*
data/upload_journal/
.ue-uploads/

# Local browser evidence
artifacts/
