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.0rc4

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.0rc4
File Size Uploaded Provenance Actions
xdof_sdk-0.1.0rc4.tar.gz 126.2 kB Without provenance Details for xdof_sdk-0.1.0rc4.tar.gz

Built distribution (wheel)

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

Total release size: 289.0 kB

Release files / xdof_sdk-0.1.0rc4.tar.gz

Download URL xdof_sdk-0.1.0rc4.tar.gz
Size 126.2 kB
Tags Source
SHA-256 checksum
How to use checksums
81d42f976de4d4d2876422be614c2036ad363f9f0247bd272bdb6e06d1e14e3b
BLAKE2b-256 checksum
How to use checksums
14dc46e41ee133876a6962301aa13be28f755a44bf78182782906813322c43dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.2 {"installer":{"name":"uv","version":"0.13.2","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.0rc4-py3-none-any.whl

Download URL xdof_sdk-0.1.0rc4-py3-none-any.whl
Size 162.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51317a4042e124302824f9b4c5ee5e7e9398418b4d20b83c9af5143f65851654
BLAKE2b-256 checksum
How to use checksums
f91f2a2400b7637b0d672632e8f6b1177b052698edf14381ded78feb6918f360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.2 {"installer":{"name":"uv","version":"0.13.2","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.0rc4

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