Metadata-Version: 2.4
Name: any4robot
Version: 0.1.1
Summary: Foundation dataset tooling for VLA model training
Author: JFG
License-Expression: Apache-2.0
Keywords: robotics,dataset,lerobot,vla,data-tools
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pandas>=1.5.0
Requires-Dist: pyarrow>=10.0.0
Provides-Extra: gui
Requires-Dist: matplotlib>=3.5.0; extra == "gui"
Requires-Dist: opencv-python>=4.5.0; extra == "gui"
Requires-Dist: Pillow>=8.0.0; extra == "gui"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"

# Any4Robot

`any4robot` provides dataset conversion and management utilities for training VLA / WM / VAM robot control models. Data preparation is crucial for robot model development. Any4Robot provides a standardized, verified way to produce the right data so you can focus on model design.

## Install

```bash
pip install any4robot
```

## Quick start (LeRobot editor)

```python
from any4robot import LeRobotDatasetEditor

editor = LeRobotDatasetEditor("/path/to/lerobot-dataset")
editor.list_episodes(0, 5)
editor.delete_episode(12, dry_run=True)
```

## Combine datasets

```python
from any4robot.combine import merge_lerobot_datasets

merge_lerobot_datasets(
    ["/path/to/dataset_a", "/path/to/dataset_b"],
    "/path/to/output_dataset",
)
```

## Quality check (LeRobot v2.1 layout)

```python
from any4robot.qualitycheck import validate_lerobot_v2_1

result = validate_lerobot_v2_1("/path/to/lerobot-dataset")
print(result)
```

## Modules

- `any4robot.editing`: LeRobot dataset editing helpers (delete episode, copy episode, list episodes)
- `any4robot.combine`: Merge multiple LeRobot datasets into a single dataset
- `any4robot.qualitycheck`: Validate datasets (LeRobot v2.1 layout)
- `any4robot.conversion`: Placeholder for future dataset conversion pipelines

## Notes

- The LeRobot editor code is copied from `vendor/lero` and organized under `any4robot/lerobot_editor`.
- Optional GUI dependencies are available with `pip install any4robot[gui]`.
