Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

xdof-sdk

Read and visualize data delivered by xdof, and serve policies to xdof evaluations.

Installation

pip install xdof-sdk          # MCAP topic names + protobuf schemas
pip install "xdof-sdk[viz]"   # + Rerun viewer
pip install "xdof-sdk[eval]"  # + eval worker SDK

0.0.1rc13 is the last release that includes the Trajectory loader (xdof_sdk.data).

Visualization

Open an episode (a directory of MCAPs, or a single .mcap) in Rerun:

xdof-viz /path/to/episode/
xdof-viz /path/to/episode/ --headless --open-browser   # serve the web viewer instead

Reading MCAPs

Delivered MCAPs embed their protobuf schemas, so the mcap package decodes them directly. The same messages are importable from xdof_sdk.proto, and standard topic names live in xdof_sdk.constants.

from mcap.reader import make_reader
from mcap_protobuf.decoder import DecoderFactory

TOPIC = "/left-arm-state"  # any protobuf channel listed in your delivery's format spec

with open("episode.mcap", "rb") as f:
    reader = make_reader(f, decoder_factories=[DecoderFactory()])
    for _, channel, message, decoded in reader.iter_decoded_messages(topics=[TOPIC]):
        print(message.log_time, decoded)

Eval worker

xdof_sdk.eval serves a policy to xdof's model-eval service and registers runtimes and evaluations:

from xdof_sdk.eval import Action, Observation, Policy, run_worker

See docs.xdof.ai for the worker, runtime, and evaluation APIs.

Metadata

Release files for xdof-sdk 0.1.0rc3

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

Source distribution (sdist)

Source distribution for xdof-sdk 0.1.0rc3
File Size Uploaded Provenance Actions
xdof_sdk-0.1.0rc3.tar.gz 123.8 kB Without provenance Details for xdof_sdk-0.1.0rc3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xdof-sdk 0.1.0rc3
File Interpreter ABI Platform Actions
xdof_sdk-0.1.0rc3-py3-none-any.whl Python 3 none any Details for xdof_sdk-0.1.0rc3-py3-none-any.whl

Total release size: 284.2 kB

Release files / xdof_sdk-0.1.0rc3.tar.gz

Download URL xdof_sdk-0.1.0rc3.tar.gz
Size 123.8 kB
Tags Source
SHA-256 checksum
How to use checksums
20d798748cdd91c2198545f05c848efc17ce65a3a981211c0adcd506aaf102c7
BLAKE2b-256 checksum
How to use checksums
0967b7b6545e0d89f830289a3f296feb85efee9f657a7be940f678f6895ab607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / xdof_sdk-0.1.0rc3-py3-none-any.whl

Download URL xdof_sdk-0.1.0rc3-py3-none-any.whl
Size 160.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10492d7bb53378e76f2c6b462c12f503fc31efd3da81449f94b25f4ca519657f
BLAKE2b-256 checksum
How to use checksums
d11043095bf8f60cf0cbcc74624282c947de40ca750a4cfd0dedfcb3937ae2ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for xdof-sdk 0.1.0rc3

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