DART 7 ยท in development You are reading the documentation for DART 7, an in-progress redesign that is not yet recommended for production use. Looking for the current stable release? See the DART 6 LTS documentation.

Python API Reference๏ƒ

The full dartpy API reference is authored under docs/python_api/modules and included into this site through the shims under docs/readthedocs/dartpy/api/modules. Sphinx imports a live dartpy module when one is available; otherwise docs/readthedocs/conf.py falls back to the committed stubs under python/stubs/dartpy so Read the Docs renders the current repository API shape without pinning an older release wheel.

Note

Local pixi run docs-build uses the same fallback path unless the current shell already exposes a built dartpy module. Use pixi run api-docs-py when you need a local API build backed by the freshly compiled extension.

Getting Started๏ƒ

To explore the bindings from a source checkout:

pixi run build
PYTHONPATH=build/default/cpp/Release/python pixi run python - <<'PY'
import dartpy as dart
world = dart.World()
print(world.gravity)
PY

Module Reference๏ƒ