# =============================================================================
# Python — bytecode, cache, compiled extensions
# =============================================================================
__pycache__/
*.py[cod]
*$py.class
*.so
*.pyd
*.pyc
*.pyo
.Python

# =============================================================================
# Python — packaging, build, distribution
# =============================================================================
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
pip-log.txt
pip-delete-this-directory.txt
pip-wheel-metadata/

# =============================================================================
# Python — testing, coverage, profiling
# =============================================================================
.pytest_cache/
.cache
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
cover/
prof/
*.prof
*.lprof
.profile

# =============================================================================
# Python — type checking
# =============================================================================
.mypy_cache/
.dmypy.json
dmypy.json
.pyright/
.pytype/
.pyre/

# =============================================================================
# Python — linters / formatters
# =============================================================================
.ruff_cache/
.black_cache/

# =============================================================================
# Package managers — lock files (library project; do not commit)
# =============================================================================
uv.lock
poetry.lock
Pipfile.lock
pdm.lock
pixi.lock

# =============================================================================
# Package manager workspaces
# =============================================================================
.uv/
.pdm-python
.pdm-build/
.hatch/
__pypackages__/
conda-meta/

# =============================================================================
# Virtual environments
# =============================================================================
.venv/
.venv-*/
venv/
venv-*/
env/
env-*/
ENV/
env.bak/
venv.bak/
.conda-environments/

# =============================================================================
# Jupyter / IPython
# =============================================================================
.ipynb_checkpoints/
profile_default/
ipython_config.py
*.ipynb_checkpoints

# =============================================================================
# Documentation builds
# =============================================================================
docs/_build/
docs/_site/
docs/site/
site/
.mkdocs/
.docusaurus/
_build/

# =============================================================================
# Benchmarks — generated outputs
# =============================================================================
benchmarks/results/
benchmarks/output/
benchmarks/.cache/
.benchmarks/
*.bench

# =============================================================================
# Logs
# =============================================================================
*.log
logs/

# =============================================================================
# Secrets / environment files (NEVER commit)
# =============================================================================
.env
.env.*
!.env.example
!.env.sample
.envrc
secrets.yaml
secrets.yml
secrets.json
*.pem
*.key
*.crt
*.p12
*.pfx
credentials.json
service-account*.json

# =============================================================================
# Databases / Herald SDK runtime artifacts
# =============================================================================
*.db
*.db-journal
*.db-wal
*.db-shm
*.sqlite
*.sqlite3
*.herald.db
*.herald.db-journal
*.herald.db-wal
*.herald.db-shm
herald-buffer/
.herald/

# =============================================================================
# Translation files
# =============================================================================
*.mo
*.pot

# =============================================================================
# Pre-commit
# =============================================================================
.pre-commit-cache/

# =============================================================================
# IDE — JetBrains (PyCharm, IntelliJ)
# =============================================================================
.idea/
*.iml
*.iws
*.ipr
out/

# =============================================================================
# IDE — Visual Studio Code
# =============================================================================
.vscode/
*.code-workspace

# =============================================================================
# IDE — Visual Studio
# =============================================================================
.vs/

# =============================================================================
# Editor — Vim
# =============================================================================
*.swp
*.swo
.*.swp
.*.swo
*~

# =============================================================================
# Editor — Emacs
# =============================================================================
\#*\#
.\#*
*~

# =============================================================================
# Editor — Sublime Text
# =============================================================================
*.sublime-project
*.sublime-workspace

# =============================================================================
# Editor — Eclipse / PyDev
# =============================================================================
.project
.pydevproject
.settings/

# =============================================================================
# Editor — Spyder
# =============================================================================
.spyproject/
.spyderproject/

# =============================================================================
# Editor — Rope (refactoring)
# =============================================================================
.ropeproject/

# =============================================================================
# Editor — Nova
# =============================================================================
.nova/

# =============================================================================
# OS — macOS
# =============================================================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
.AppleDouble
.LSOverride
Icon
.DocumentRevisions-V100
.fseventsd
.TemporaryItems
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# =============================================================================
# OS — Windows
# =============================================================================
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# =============================================================================
# OS — Linux
# =============================================================================
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# =============================================================================
# Misc — backup, temporary
# =============================================================================
*.bak
*.tmp
*.temp
*.orig
*.rej
