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.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xdof_sdk-0.1.0rc2.tar.gz | 119.0 kB | Without provenance | Details for xdof_sdk-0.1.0rc2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xdof_sdk-0.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details for xdof_sdk-0.1.0rc2-py3-none-any.whl |
Total release size: 274.4 kB
Release files / xdof_sdk-0.1.0rc2.tar.gz
| Download URL | xdof_sdk-0.1.0rc2.tar.gz |
|---|---|
| Size | 119.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
420d85e14a9c52243160668f594980246b5ec6034eb5d35572fdac5ff18b70b0
|
|
BLAKE2b-256 checksum How to use checksums |
13f97ca538741078048ccfcc114c6a947079e4b06e43985c6ec30c53f81bf223
|
| 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.0rc2-py3-none-any.whl
| Download URL | xdof_sdk-0.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 155.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a349c67be88ace243cbfe08e4449b6cf8d8181e3370d682c466b9e33b66e401a
|
|
BLAKE2b-256 checksum How to use checksums |
584eb009ab9e36cea283454f04c2e48a14ad46bccaf3dd1701e338b48eda0154
|
| 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.0rc2
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.