Metadata-Version: 2.4
Name: lerobot-dataset
Version: 0.5.0
Summary: A standalone version of [LerobotDataset](https://github.com/huggingface/lerobot/tree/main/src/lerobot/datasets) with relaxed dependencies for easier integration with other projects.
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: accelerate<2.0.0,>=1.10.0
Requires-Dist: av<16.0.0,>=15.0.0
Requires-Dist: cmake<4.2.0,>=3.29.0.1
Requires-Dist: datasets<5.0.0,>=4.0.0
Requires-Dist: deepdiff<9.0.0,>=7.0.1
Requires-Dist: huggingface-hub<2.0.0,>=1.0.0
Requires-Dist: imageio[ffmpeg]<3.0.0,>=2.34.0
Requires-Dist: jsonlines<5.0.0,>=4.0.0
Requires-Dist: numpy<2.3.0,>=2.0.0
Requires-Dist: opencv-python-headless<4.14.0,>=4.9.0
Requires-Dist: packaging<26.0,>=24.2
Requires-Dist: setuptools<81.0.0,>=71.0.0
Requires-Dist: termcolor<4.0.0,>=2.4.0
Requires-Dist: torchcodec<0.11.0,>=0.2.1; sys_platform != 'win32' and (sys_platform != 'linux' or (platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')) and (sys_platform != 'darwin' or platform_machine != 'x86_64')
Requires-Dist: torchvision<0.26.0,>=0.21.0
Description-Content-Type: text/markdown

# 🤖 Lerobot Dataset

A standalone version of [LerobotDataset](https://github.com/huggingface/lerobot/tree/main/src/lerobot/datasets) with relaxed dependencies for easier integration with other projects.

The `torch` and `torchvision` dependencies are deliberately omitted to allow you to manage your own PyTorch installation.

## 📦 Installation

### Prerequisites

- Python >= 3.10
- [uv](https://github.com/astral-sh/uv) package manager

### Setup

1. Install dependencies:
   ```bash
   uv sync
   ```

2. Install PyTorch:
   ```bash
   uv pip install torch torchvision --torch-backend=auto
   ```
   
   Or specify a backend:
   ```bash
   # For CUDA
   uv pip install torch torchvision --torch-backend=cuda
   
   # For CPU only
   uv pip install torch torchvision --torch-backend=cpu
   ```

3. Activate the virtual environment:
   ```bash
   source .venv/bin/activate
   ```

## 💻 Usage

```python
from ledataset.datasets.lerobot_dataset import LeRobotDataset

ds = LeRobotDataset("lerobot/pusht")

# Your code here
```

## 🔗 Related Projects

- [Lerobot](https://github.com/huggingface/lerobot) - Full Lerobot framework
- [LerobotDataset (Original)](https://github.com/huggingface/lerobot/tree/main/src/lerobot/datasets) - Original implementation

## 📝 License

See [LICENSE](LICENSE) file for details.
