dart-python | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / dart-python

dart-python

maintained by dartsim

star 1k account_tree 294 verified_user MIT License
bolt View GitHub

name: dart-python description: DART Python bindings (dartpy) - nanobind, wheel building, API patterns

DART Python Bindings (dartpy)

Load this skill when working with Python bindings or dartpy.

Quick Start

import dartpy as dart

world = dart.World()
skel = dart.io.read_skeleton("dart://sample/urdf/KR5/KR5 sixx R650.urdf")
world.add_skeleton(skel)

for _ in range(100):
    world.step()

Full Documentation

For complete Python bindings guide: docs/onboarding/python-bindings.md

For module-specific details: python/AGENTS.md

Quick Commands

pixi run build-py-dev    # Build for development
pixi run test-py         # Run Python tests
pixi run generate-stubs  # Generate type stubs

Wheel Building

pixi run -e py312-wheel wheel-build
pixi run -e py312-wheel wheel-repair  # Linux only
pixi run -e py312-wheel wheel-test

Key Patterns

  • snake_case preferred (camelCase emits DeprecationWarning)
  • NumPy arrays auto-convert to Eigen types
  • GUI requires DART_BUILD_GUI=ON

Key Files

  • Package config: pyproject.toml
  • Build system: python/dartpy/CMakeLists.txt
  • Type stubs: python/stubs/dartpy/

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 1k
GitHub Forks 294
Created Jan 2026
Last Updated 5个月前
tools tools framework internals

Related Skills

ralph-amp
chevron_right
lang-rust
chevron_right
optimizing-memory-allocation-lite
chevron_right
corestd-boundary
chevron_right
vela-build
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.