Skip to main content

dejavu-client

Python client for the Deja Vu robot-data platform — curation manifests, checkpoints, cached artifacts, and inference/sim rollout results.

Stdlib only, no dependencies: it installs identically on a laptop, a GCP or Azure VM, Baseten, or inside a Dockerfile with no credentials configured.

pip install dejavu-client

Use

from dejavu_client import DejaVu

dv = DejaVu()                     # DEJAVU_API_KEY, DEJAVU_API_URL from env

# what exists, and how curated it is
for d in dv.datasets():
    print(d["dataset"], d["episodes"], d["flagged"], d["bad"])

# episodes this run should skip — step one of any dataloader
m = dv.manifest("G1_Dex1_FoldTowel")
skip = set(m["drop"])             # record m["version"] alongside the run

# cache something expensive to recompute
key = dv.artifact_key("G1_Dex1_FoldTowel", 42,
                      transform="crop224", encoder="siglip-v1")
blob = dv.artifact_get(key)
if blob is None:
    blob = expensive_encode(...)
    dv.artifact_put(key, blob)

# save a checkpoint — a set of files, not one
dv.upload_checkpoint(
    ["step1000.pt", "config.yaml", "dataset_statistics.json"],
    wandb_run_id=run.id, step=1000,
    metrics={"val_loss": 0.42},
    manifest={"schema": "unibot-checkpoint/v0", "control_space": "ee"},
    manifest_version=m["version"],
)

# inspect stats without pulling gigabytes of weights
dv.download_checkpoint(ckpt_id, "./out", only=["dataset_statistics.json"])

Check a key works

export DEJAVU_API_KEY=dvk_...          # create one at dejavu.tabtabtab.ai/keys
python examples/list_datasets.py

Prints every dataset with its episode, flagged, reviewed and bad counts — the quickest way to confirm a key before wiring it into a training run.

Things worth knowing

Bytes never pass through the API. It hands out presigned URLs and you transfer straight to object storage, so a 19 GB checkpoint isn't limited by request size or timeouts. Uploads over 5 GB go multipart automatically.

Artifact reads bypass the API entirely and hit the CDN, so a cache miss costs one HTTP request to an edge node rather than a round trip to the server. That is also what makes the cache shared across GPU boxes.

Artifact keys are content-addressed — hash(dataset, episode, transform, encoder). Change the recipe and you get a different key, so nothing needs invalidating; stale entries are simply never requested again.

A checkpoint is a set of files. Weights plus config.yaml plus dataset_statistics.json, because a serving stack often needs the small ones and shouldn't have to download the weights to read them.

There is no authorization. A valid key may read and write anything; keys exist for attribution and revocation. Keep them out of source control.

Configuration

Variable Default
DEJAVU_API_KEY (required)
DEJAVU_API_URL https://visualizer.tabtabtab.ai

Mint a key from the Deja Vu UI; it is shown once and stored only as a hash.

Note

This is a client for a specific hosted service. It is published so that ephemeral training boxes across clouds can install it without credentials — it is not useful without access to a Deja Vu deployment.

Metadata

Release files for dejavu-client 0.2.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 dejavu-client 0.2.0
File Size Uploaded Provenance Actions
dejavu_client-0.2.0.tar.gz 7.6 kB With provenance Details for dejavu_client-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dejavu-client 0.2.0
File Interpreter ABI Platform Actions
dejavu_client-0.2.0-py3-none-any.whl Python 3 none any Details for dejavu_client-0.2.0-py3-none-any.whl

Total release size: 15.8 kB

Release files / dejavu_client-0.2.0.tar.gz

Download URL dejavu_client-0.2.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0d77bc8dfad05ac8896240dc8451c827dc8e0b01929ab5db2ab879b8ba5fbccb
BLAKE2b-256 checksum
How to use checksums
cd091ffb84ac51a0298ebefda62d5c9aaeb4cf2b13ef01be12d950c4580194c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

Release files / dejavu_client-0.2.0-py3-none-any.whl

Download URL dejavu_client-0.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13493f0991ca886001e59d665b8df647bf8d0dbb5b3947d28e0c9fd5086f9187
BLAKE2b-256 checksum
How to use checksums
179383a18d759adbe3a79ba4dc0486d008aa01eeac5b786b52f4cc4e7d10b5bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

Security for dejavu-client 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dejavu_client-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

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