Skip to main content

🍬 RoboCandyWrapper

Sweet wrappers for extending and remixing LeRobot Datasets.

PyPI version License: MIT GitHub stars Python 3.10+


🍬 Why do I need this?

You have robot data. Lots of it. But working with it is a pain.

Your datasets are split across incompatible LeRobot versions, extending or transforming them risks breaking compatibility, and balancing across data sources takes more effort than it should.

RoboCandyWrapper handles all of this:

  • Mix datasets freely — Load v2.1 and v3.0 LeRobot datasets through a single unified interface, and use them together as if they were the same format.

  • Extend without breaking — Add custom labels or columns to existing datasets via Plugins, while staying fully compatible with LeRobot tooling.

  • Control your data mix — Use built-in Samplers to increase or decrease the weight of specific datasets in your mix.

⚠️ RoboCandyWrapper is still experimental so do note that the API could change in the future, although we'll do our best to avoid unnecessary changes!

🍬 Quick Start (5 Minutes)

Installation

# Include LeRobot as a dependency in installation
pip install robocandywrapper

# OR...
# Use your own version of LeRobot - may cause issues!
pip install --no-dependencies robocandywrapper

# OR...
# Use your own version of LeRobot and install robocandywrapper as a local editable dependency so you change LeRobot imports as needed
# This might be required if you use a LeRobot fork or depend on an out of date version
git clone https://github.com/villekuosmanen/RoboCandyWrapper.git
cd RoboCandyWrapper
pip install --no-dependencies -e .

Basic usage

Load a vintage v2.1 dataset and a modern v3.0 dataset as if they were the same thing.

from robocandywrapper import make_dataset_without_config

# Your playlist: one old, one new
repo_ids = [
    "lerobot/svla_so100_pickplace",  # v2.1 dataset
    "lerobot/svla_so100_stacking",   # v3.0 dataset
]

# The factory handles the compatibility logic automatically
dataset = make_dataset_without_config(repo_ids)

print(f"🎉 Successfully loaded {len(dataset)} episodes from mixed sources!")

🍬 What more can I do with it?

🎧 The "Mix Tape" (Mixing Datasets)

Learn how to combine multiple datasets into one, handle different robot configurations, and use sampling weights to balance your data mix.

🧂 The "Flavor Enhancer" (Transforming Data)

Learn how to use Plugins to add new labels or columns to your dataset, reshape tensors, or modify existing data on-the-fly without breaking backwards compatability.

Other cool stuff from the authors

  1. Physical AI Interpretability offers open-source interpretability tools for AI robotics.
  2. RewACT is an open-source reward model / value function based on the ACT transformer architecture.

Metadata

Release files for robocandywrapper 0.2.18

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

Source distribution (sdist)

Source distribution for robocandywrapper 0.2.18
File Size Uploaded
robocandywrapper-0.2.18.tar.gz 58.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robocandywrapper 0.2.18
File Interpreter ABI Platform
robocandywrapper-0.2.18-py3-none-any.whl Python 3 none any Details

Total release size: 121.2 kB

Release files / robocandywrapper-0.2.18.tar.gz

Download URL robocandywrapper-0.2.18.tar.gz
Size 58.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d991ba3c73873a1cb0b94cf2791e8c23bee4bcdb040c199ad8f27c8367cb47b4
BLAKE2b-256 checksum
How to use checksums
e66c4c99ec16aa655fc9aa6e400ad443648cf5dff1617d2e887daa43f16c1faa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / robocandywrapper-0.2.18-py3-none-any.whl

Download URL robocandywrapper-0.2.18-py3-none-any.whl
Size 62.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
677c2321b2a5408c335103ad58e9eede007b3f561bd67cb86e77d6bbf27f86ce
BLAKE2b-256 checksum
How to use checksums
049afe793d045bf83bae5a3081a1c0a0d0ad24902525114a6acbc252b639b9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

This release

0.2.18 This release

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

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