```gitignore
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.py~

# Dependencies
.venv/
venv/
.env
.env.local
.env.*

# Logs and temporary files
*.log
*.tmp

# Editors
.vscode/
.idea/

# Build artifacts
dist/
build/
target/
*.o
*.obj
*.out
*.exe
*.dll
*.so
*.a

# Coverage
.coverage
coverage/
htmlcov/

# Testing
.mypy_cache/
.pytest_cache/

# System
.DS_Store
Thumbs.db
```