# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
.venv/
env/
.env
.env.*
!.env.example

# 本地配置与密钥（保留 *.example）
gateway.json
nodes.json

# 运行时数据
gateway_stats.db
gateway_stats.db-*
*.log
logs/

# 测试与工具缓存
.pytest_cache/
.mypy_cache/
.ruff_cache/
htmlcov/
.coverage
coverage.xml

# IDE / 系统
.vscode/
.idea/
*.swp
*.swo
.DS_Store
Thumbs.db
desktop.ini

# 临时脚本
_patch_*.py
_fix_*.py
