```gitignore
# Python cache files
__pycache__/
*.pyc
*.pyo
*.pyd

# Compiled Python files
*.cpython-*.pyc

# Logs
*.log

# Environment files
.env
.env.local
*.env.*
```