# =============================================================================
#  .gitignore - Python project template
#  (package + PyInstaller executables + .deb + Sphinx documentation)
# =============================================================================

# -----------------------------------------------------------------------------
#  Python
# -----------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
*.pyd

# -----------------------------------------------------------------------------
#  Packaging / distribution (python -m build, twine)
# -----------------------------------------------------------------------------
build/
dist/
develop-eggs/
downloads/
eggs/
.eggs/
wheels/
sdist/
*.egg-info/
*.egg
.installed.cfg
MANIFEST
pip-wheel-metadata/
share/python-wheels/

# -----------------------------------------------------------------------------
#  PyInstaller (the .spec is generated by the build.yml workflow)
# -----------------------------------------------------------------------------
*.spec
*.manifest

# -----------------------------------------------------------------------------
#  Debian package (build.yml)
# -----------------------------------------------------------------------------
pkgroot/
*.deb

# -----------------------------------------------------------------------------
#  Documentation (Sphinx / sphinx-gallery, docs.yml)
# -----------------------------------------------------------------------------
public/
docs/build/
docs/_build/
docs/source/_build/
docs/source/auto_examples/
docs/source/gen_modules/
docs/source/sg_execution_times.rst
docs/source/api/generated/
docs/source/_autosummary/

# -----------------------------------------------------------------------------
#  Virtual environments
# -----------------------------------------------------------------------------
.venv/
venv/
env/
ENV/
.env
.envrc
.python-version
__pypackages__/

# -----------------------------------------------------------------------------
#  Tests / coverage / type checking / linting
# -----------------------------------------------------------------------------
.pytest_cache/
.tox/
.nox/
.coverage
.coverage.*
coverage.xml
htmlcov/
nosetests.xml
*.cover
.hypothesis/
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/
.ruff_cache/

# -----------------------------------------------------------------------------
#  Jupyter / IPython
# -----------------------------------------------------------------------------
.ipynb_checkpoints/
profile_default/
ipython_config.py

# -----------------------------------------------------------------------------
#  Logs / temporary files
# -----------------------------------------------------------------------------
*.log
*.tmp
*.bak
*.swp
*.swo
*~

# -----------------------------------------------------------------------------
#  Editors / IDEs
# -----------------------------------------------------------------------------
.vscode/
.idea/
*.sublime-project
*.sublime-workspace
.spyderproject
.spyproject
.ropeproject

# -----------------------------------------------------------------------------
#  Operating systems
# -----------------------------------------------------------------------------
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# Linux
.directory
.Trash-*
.nfs*