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

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

# Old versions of code files.
old_files/

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

# Backup files
*_old
*_old.*
*.bak
*.orig

# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
.nox/

# Type checking
.mypy_cache/
.dmypy.json

# Environment
.env
.env.local
*.log

# Distribution
*.manifest
*.spec

# Output test files.
test_data/*.png

# Dev scripts (local convenience scripts - except validate-release.sh)
scripts/*
!scripts/validate-release.sh

# Web UI auth database and SSL certs
frontends/web/instance/
frontends/web/certs/

# Tests (private)
tests/

# RPi image build artifacts
*.img
*.img.xz
*.img.zst
pishrink.sh
*.img.zst.zip
