# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/apidocs/
docs/examples/
docs/_demos/
docs/_static/screenshots/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# UV
#   Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#uv.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/latest/usage/project/#working-with-version-control
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# Ruff stuff:
.ruff_cache/

# PyPI configuration file
.pypirc

.claude/
uv.lock

# IDE workspace (project files are fine, workspace is personal state)
*.sublime-workspace

# Web export build artifacts at root
/editor.html
/lighting3d.html
/tictactoe.html
/planet_explorer.html
/*.html
!/docs/**/*.html
savegame.json

# SaveManager files (game saves and editor autosave)
*.sav
*.sav.tmp
games/*/saves/
# Root-level saves written when a demo using SaveManager runs from the repo root
/saves/

# Code-review tool outputs (build_examples / example review runs)
examples_review.json
_review_output.json

# Performance regression results: per-machine benchmark history, pinned
# baselines, and combined drift reports. Local-only; never committed (numbers
# are machine-specific). See docs/perf.md and tools/run_benchmarks.py.
/.perf/

# Golden-image failure artifacts. The regression harness writes <name>_actual.png
# and <name>_diff.png beside the baseline when a comparison fails, and removes them
# when it passes. They are evidence for the run that produced them, never inputs:
# committing one hides a failing golden behind a file that looks like a baseline.
*_actual.png
*_diff.png

*.bak
*.bak2
*.orig

# Agent team orchestration artifacts (manifest, progress, screenshots), local only
.claude/agent-team/
.qwen/

# Native audio extension build artifacts (cffi-generated, see simvx.core._native)
packages/core/src/simvx/core/_native/_simvx_miniaudio_engine.c
packages/core/src/simvx/core/_native/_simvx_miniaudio_engine.o
packages/core/src/simvx/core/_native/__pycache__/

# Native texture transcoder build artifacts (cffi-generated, see simvx.graphics._native).
# The .so is already covered by the global *.so rule. The cffi-emitted C++ TU,
# the transcoder object, and the absolute-path object tree cffi mirrors under
# the build dir are all transient.
# Name embeds a define-set hash (_simvx_basis_transcoder_<hash>.cpp), so glob it.
packages/graphics/src/simvx/graphics/_native/_simvx_basis_transcoder*.cpp
packages/graphics/src/simvx/graphics/_native/_simvx_basis_transcoder*.o
packages/graphics/src/simvx/graphics/_native/*.o
packages/graphics/src/simvx/graphics/_native/home/
packages/graphics/src/simvx/graphics/_native/__pycache__/
.venv-*/

# Stray playtest/debug filmstrip captures dropped into port example dirs
# (the real docs screenshots live under docs/_static/screenshots, tracked above).
examples/ports/*/screenshots/

# Scratch dir for evaluating executable bundlers. Bundles run to hundreds of MB,
# so they are built here on real disk rather than in tmpfs, and deleted after
# measuring. Never tracked.
.dist-measure/

# Screenshots kept on real disk for a deferred human visual review, since the
# agent scratchpad is tmpfs and does not survive a reboot. Never tracked.
.review-screens/
