Skip to main content

URML

A small, opinionated, human-readable language for describing robot intent.

urml.dev


urml-edu-runtime

Educational-platform reference runtime for URML — VexV5Adapter, LegoSpikeAdapter, ThymioAdapter, GoPiGo3Adapter, RoboticalMartyAdapter, zero ROS.

The classroom/maker adoption flywheel (RFC-0011). VEX V5 brain (USB/serial via pyvex), LEGO SPIKE Prime / Mindstorms hub (BLE via pybricksdev), Thymio (Aseba TDM via tdmclient), Robotical Marty v1/v2 (USB-serial / socket via martypy, per maintainer engagement on robotical/martypy#52, 2026-05-25). Each platform's native SDK is imported lazily by its adapter. This module loads on every host without any [vex]/[lego]/[thymio]/[marty] extra. Built against the frozen substrate Protocol per RFC-0014. Mirrors cobot-runtime's _CobotBase shape.

Method coverage

URML primitive v0.1
move_to / hover write the configured firmware command (VEX run_command / LEGO send_command / Thymio send_event)
drive / turn (RFC-0630) GoPiGo3Adapter only: odometric drive_cm / turn_degrees / orbit on a frameless buggy. The first substrate to implement the relative-motion surface
grasp / release write the configured claw-servo command
wait hold (success)
measure / wait_for one telemetry read
report structured record to a local sink (no cloud)
scan documented not-supported result: no area-scan controller (a scan is waypoints plus a capture at each one)
look_at / gesture (RFC-0698) ReachyMiniAdapter only: expressive gaze + gesture on the Hugging Face Reachy Mini (ExpressionAdapter, social profile). The first substrate to implement the expression surface

dock, detect, capture, speak, listen return not_supported_on_edu_platform. The drone trio returns not_applicable_edu.

ReachyMiniAdapter is a standalone ExpressionAdapter (not an _EduBase nav robot): look_at orients the head/body (a 4x4 head matrix + body yaw through the SDK's goto_target), gesture plays a named move mapped in ReachyConfig.gesture_moves. The client surface is config-overridable and imported lazily; hardware validation pairs with a live Reachy Mini and is a follow-up.

Spec gaps (RFC-0014 protocol)

Cross-references existing Drafts — no new RFC:

  • LED/buzzer/button = digital-output → RFC-0017 (already Draft from cobot-runtime).
  • Non-mobile sensor/actuator-only node → RFC-0018 (already Draft from embedded-runtime).

See SPEC-GAPS.md.

Install / use

pip install -e reference/edu-runtime[vex]      # VEX V5 (pyvex)
pip install -e reference/edu-runtime[lego]     # LEGO Pybricks (pybricksdev BLE)
pip install -e reference/edu-runtime[thymio]   # Thymio (tdmclient)
pip install -e reference/edu-runtime[gopigo]   # GoPiGo3 buggy (easygopigo3, relative drive/turn)
pip install -e reference/edu-runtime[marty]    # Robotical Marty v1/v2 (martypy)
pip install -e reference/edu-runtime           # Microduck (stdlib JSON-RPC, no extra)
from urml_edu_runtime import VexV5Adapter, EduConfig
cfg = EduConfig(device="COM3",
                location_to_command={"start_mat": "GO START", "home_mat": "GO HOME"})
with VexV5Adapter(cfg) as vex:
    assert vex.send_navigation_goal(location="start_mat").success

Status

v0.1 (this release):

  • 4 adapters + EduConfig + BRAND_ADAPTERS registry. Hermetic suite green via fake-SDK injection (pytest reference/edu-runtime/tests -q).
  • 4 manifest fixtures (VEX V5 clawbot, LEGO SPIKE driving base, Thymio classroom buggy, Robotical Marty v2) + 4 conformance fixtures under conformance/fixtures/educational/.
  • Gated .github/workflows/edu-integration.yml: edu-smoke (real SDKs including martypy), edu-arm64-build (Jetson-class QEMU with SDKs absent), edu-board-e2e placeholder that exit 1s until a real board is wired (the marine/cobot HONESTY-NOTE precedent).
  • The Marty adapter was added in direct response to the first engaged maintainer reply across URML's 31-thread Move #3–#6 outreach: NikTheGeek1 on robotical/martypy#52 (2026-05-25) confirmed URML should host the adapter externally, set v2 default transport to USB-serial / v1 to socket, and scoped BLE out as not supported by martypy.

Core Commitment

Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). No vendor coupling, no cloud dependency. All vendor SDKs are optional extras imported lazily, never at module load.

Metadata

Release files for urml-edu-runtime 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urml-edu-runtime 0.5.0
File Size Uploaded Provenance Actions
urml_edu_runtime-0.5.0.tar.gz 40.0 kB Without provenance Details for urml_edu_runtime-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for urml-edu-runtime 0.5.0
File Interpreter ABI Platform Actions
urml_edu_runtime-0.5.0-py3-none-any.whl Python 3 none any Details for urml_edu_runtime-0.5.0-py3-none-any.whl

Total release size: 66.9 kB

Release files / urml_edu_runtime-0.5.0.tar.gz

Download URL urml_edu_runtime-0.5.0.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5286c17bee082fd1cafcc609e79ba498990b60e5a9be390003883890f2d3a3ee
BLAKE2b-256 checksum
How to use checksums
258660189c8ab809b58575d445489981ecb2a24f8e948d861d35da6f25be8405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / urml_edu_runtime-0.5.0-py3-none-any.whl

Download URL urml_edu_runtime-0.5.0-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28baf108c98873a334716dadf991636d51d0c70b9c1517ee8dfbd325166d66d3
BLAKE2b-256 checksum
How to use checksums
a237b12794e475244fc315c3f7b5d01ebf12c14e30a6aae042d0f6e441fdf541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for urml-edu-runtime 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page