# === Python 缓存 ===
__pycache__/
*.py[cod]
*$py.class

# === 环境变量文件 ===
.env
.env.*

# === 虚拟环境目录 ===
venv/
.venv/
env/
ENV/
env.bak/
venv.bak/

# === 安装构建缓存 ===
*.egg
*.egg-info/
.eggs/
dist/
build/
pip-log.txt

# === 测试相关缓存文件 ===
.coverage
.tox/
nosetests.xml
coverage.xml
*.cover
*.py,cover

# === 数据库相关 ===
*.sqlite3
db.sqlite3

# === 日志文件 ===
*.log
logs/

# === 静态与媒体文件（Django） ===
media/
static/
staticfiles/

# === IDE 配置 ===
.idea/*          # PyCharm
*.iml
*.ipr
*.iws
.vscode/        # VS Code

# === 系统自动生成文件 ===
.DS_Store       # macOS
Thumbs.db       # Windows
