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.3.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.3.0
File Size Uploaded Provenance Actions
dejavu_client-0.3.0.tar.gz 9.6 kB With provenance Details for dejavu_client-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.1 kB

Release files / dejavu_client-0.3.0.tar.gz

Download URL dejavu_client-0.3.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
58e6293bf91aeef56e2f8ccb9b9127a1f5625c9d215fde6ba94f761fdfdd490d
BLAKE2b-256 checksum
How to use checksums
cdeb9146e618ee0e335f1b738edc008e9caadc370ad5a129c0aa03cce2ac7635
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Sep 30, 2026.

Transparency log

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

Download URL dejavu_client-0.3.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
754d7dfd330d05f4b89a67ad2a1b09b759568d18781384ea317291e62c7ea89d
BLAKE2b-256 checksum
How to use checksums
7ef9afa6928a9c11780f072fbe565f4d984f0e25c94f5c0c0abaf628869fb4b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Sep 30, 2026.

Transparency log

Security for dejavu-client 0.3.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.3.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 Sep 30, 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