# Python 字节码和缓存文件
__pycache__/
*.py[cod]
*$py.class
*.pyo
*.pyd
.Python

# 包构建和分发文件
build/
dist/
*.egg-info/
*.egg
.eggs/
pip-wheel-metadata/
wheels/
*.whl
*.tar.gz
sdist/

# 安装和包管理文件
.pip/
Pipfile
Pipfile.lock
poetry.lock
pdm.lock
pyproject.toml.lock
.pdm.toml
.pdm-build/
__pypackages__/

# 虚拟环境和环境文件
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.conda/
conda-env/
conda-meta/
*.conda

# 测试和覆盖率报告
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
htmlcov/
.tox/
.nox/
.pytest_cache/
.mypy_cache/
.dmypy.json
dmypy.json
test_output/
test-results/
*.log

# IDE 和编辑器文件
.vscode/
.idea/
.claude/
.cursor/
.cursorrules
*.swp
*.swo
*~
.DS_Store
Thumbs.db
*.code-workspace

# 操作系统临时文件
*.tmp
*.temp
*.pid
*.seed
*.pid.lock

# SPICE kernel 大文件（超过 Gitee 100MB 限制）
# 下载方式：https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/
kernels/*.bsp

# 特定于项目的临时文件
temp.py
*.ipynb
.ipynb_checkpoints/
*.mat
*.npy
*.npz
*.pkl
*.pickle

# 文档构建文件
docs/_build/
site/
website/build/
website/.docusaurus/
website/node_modules/

# Ruff 缓存
.ruff_cache/

# 编译扩展
*.so
*.dylib
*.dll

# cibuildwheel
.cibuildwheel/

# pyenv
# Note: .python-version is tracked for uv

# 性能分析
*.prof

# 其他缓存目录
.cache/
.mypy_cache/
.pytype/
.pyre/

# 确保所有子目录中的 __pycache__ 都被忽略
**/__pycache__/
**/*.pyc
**/*.pyo
**/*.pyd