123D: A Unified Library for Multi-Modal Autonomous Driving Data.
Project description
123D: An Open-Source Library for
Multi-Modal Autonomous Driving Datasets
Video | Documentation
One library for autonomous driving datasets. 123D converts raw data from Argoverse 2, nuScenes, nuPlan, KITTI-360, PandaSet, and Waymo into a fast, unified Apache Arrow format, and then gives you a single API to read cameras, lidar, HD maps, and labels across all of them.
Features
- Dataset download: Fetch supported datasets from their official sources via the CLI, and optionally convert directly into the unified format.
- Hydra-based conversion CLI: YAML configs to manage your data pipelines.
- Apache Arrow storage: columnar, memory-mapped, zero-copy reads. Fast and memory efficient.
- Multiple sensor codecs: MP4/JPEG/PNG for cameras; LAZ/Draco/Arrow IPC for lidar.
- No sensor duplication: Converted logs reference source camera/lidar files via relative paths, so you don't store sensors twice.
- Unified API: Read cameras, lidar, maps, and labels through a single interface, regardless of the source dataset.
- Built-in visualization: interactive 3D viewer (Viser), and matplotlib plotting.
Installation
pip install py123d
Per-dataset extras (e.g. py123d[av2], py123d[nuscenes], py123d[waymo]) install the parser dependencies for each dataset on demand. See the Demo below for an example.
Demo
Demo using the Argoverse 2 Sensor dataset, which is publicly readable from S3 and requires no cloud authentication.
The av2-sensor-stream config downloads the requested logs/maps into a managed temp directory, converts them into our self-contained Arrow format, and cleans up the source files afterwards. PY123D_DATA_ROOT controls where the converted logs/maps are written. The script below installs the AV2 extra, converts the first 3 validation logs (~250 MB each), and launches the Viser viewer:
# 1. Install
pip install py123d[av2]
export PY123D_DATA_ROOT=/path/to/py123d_data
# 2. Download + Convert
py123d-conversion dataset=av2-sensor-stream \
dataset.parser.splits='[av2-sensor_val]' \
dataset.parser.downloader.num_logs=3
# 3. Launch Viewer
py123d-viser scene_filter=av2-sensor
Open http://localhost:8080 to browse the converted scenes interactively.
Viewer
Supported Datasets
| Dataset | Cameras | LiDARs | Map | 3D Boxes | Traffic Lights |
|---|---|---|---|---|---|
| Argoverse 2 - Sensor | 9 | 2 | ✓ | ✓ | ✗ |
| nuScenes | 6 | 1 | ✓ | ✓ | ✗ |
| nuPlan | 8 | 5 | ✓ | ✓ | ✓ |
| KITTI-360 | 4 | 1 | ✓ | ✓ | ✗ |
| PandaSet | 6 | 2 | ✗ | ✓ | ✗ |
| Waymo Open - Perception | 5 | 5 | ✓ | ✓ | ✗ |
| Waymo Open - Motion | ✗ | ✗ | ✓ | ✓ | ✓ |
| CARLA / LEAD | config. | config. | ✓ | ✓ | ✓ |
| NVIDIA Physical AI AV (experimental) | 7 | 1 | ✗ | ✓ | ✗ |
Changelog
v0.3.0 (2026-04-28)
- Refactored dataset download interface, with new download/stream options for nuScenes, PandaSet (HF mirror), AV2-sensor, WOD-perception, WOMD (#126), and nuPlan.
- Added ncore dataset support with parser, downloader, and on-the-fly conversion (#125).
- Waymo Open Motion: remaining WOMD splits, WOMD-specific fields via custom modalities, and skip-logs / skip-map options for storage-constrained runs.
- Map improvements: speed bumps as surface map objects in Waymo (#130);
align_road_edges_to_trafficfor traffic-aligned road edges (#123). - Parser fixes across PandaSet (lidar/ego poses, extrinsics), nuPlan (#128), KITTI-360 labels, nuScenes map path in stream mode, WOD motion streaming, and
pai-av/ncorelabels. - Runtime and packaging: corrected sync-table entries when inferring dynamics; Ray executor compatibility;
google-cloud-storagemoved to the Waymo extra.
Includes all fixes from v0.2.1 and v0.2.2. No breaking changes to the public API, Arrow schema, or CLI entry points.
v0.2.0 (2026-04-14)
-
Transferred repository to KE:SAI.
-
Aligned ego and agent dynamics to a unified global/ego-frame convention, with velocity/acceleration inference in
LogWriterfrom poses forEgoStateandBoxDetectionsSE3(#119, #120). -
Improved OpenDRIVE maps: 3D road-edge lifting, lane-boundary reconstruction, and cleaner map-metadata location handling (#121).
-
Parser and visualization fixes: NuScenes interpolated parser defaults to 10 Hz sync with camera-pose interpolation; PandaSet extrinsic/undistortion fixes; viser fixes (#117); new matplotlib camera-rig and lidar-reprojection utilities.
No breaking changes to the public API, Arrow schema, or CLI entry points.
v0.1.0 (2026-03-22)
- Asynchronous (native-rate) data storage: modalities are now written at their original capture rate, not just at the a frame-wise rate.
- New parser architecture with
BaseLogParser.iter_modalities_asyncfor native-rate iteration alongside the existing synchronized path. - Added NVIDIA Physical AI AV dataset support (experimental).
- Added standalone OpenDRIVE / CARLA map parser.
- Refactored
conversion/module intoparser/with consistent naming across all dataset parsers. - Refactored Viser 3D viewer. Adds more control and dark mode.
- Added
LaneType,IntersectionType,StopZoneTypeto map data structure. - Replaced Waymo heavy dependencies with lightweight protobufs.
- Various fixes to camera-to-global transforms across all datasets.
v0.0.9 (2026-02-09)
- Added Waymo Open Motion Dataset support.
- Replaced gpkg map implementation with Arrow-based format for improved performance.
- Added sensor names and timestamps to camera and Lidar data across all datasets.
- Added ego-to-camera transforms in static metadata.
- Implemented geometry builders for PoseSE2/PoseSE3 from arbitrary rotation/translation representations.
- Added support for loading merged point clouds in API.
- Improved map querying speed and OpenDrive lane connectivity handling.
- Added recommended conversion options to dataset YAML configuration files.
- Fixed PandaSet static extrinsics and KITTI-360 timestamp handling.
- Fixed memory issues when converting large datasets (e.g., nuPlan).
v0.0.8 (2025-11-21)
- Release of package and documentation.
- Demo data for tutorials.
Citation
@software{Contributors123D,
title = {123D: A Unified Library for Multi-Modal Autonomous Driving Data},
author = {123D Contributors},
year = {2026},
url = {https://github.com/kesai-labs/py123d},
license = {Apache-2.0}
}
License
123D is released under the Apache License 2.0.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py123d-0.3.0.tar.gz.
File metadata
- Download URL: py123d-0.3.0.tar.gz
- Upload date:
- Size: 23.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3733e95c9d7d2d7145142b164229c212c5e8ad6195f3275e0b728a0b16a2f07b
|
|
| MD5 |
b8ef85f1e037e4cfd8c57d0c580c0341
|
|
| BLAKE2b-256 |
02496c08ab1a7ab32c35ac8c638c9f29a1b0317e0a94ab3deea91cb319c8dcac
|
Provenance
The following attestation bundles were made for py123d-0.3.0.tar.gz:
Publisher:
pypi.yaml on kesai-labs/py123d
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py123d-0.3.0.tar.gz -
Subject digest:
3733e95c9d7d2d7145142b164229c212c5e8ad6195f3275e0b728a0b16a2f07b - Sigstore transparency entry: 1397923530
- Sigstore integration time:
-
Permalink:
kesai-labs/py123d@11055251530df18c2aa2d3a05a2ed63ebe0539f3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/kesai-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@11055251530df18c2aa2d3a05a2ed63ebe0539f3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file py123d-0.3.0-py3-none-any.whl.
File metadata
- Download URL: py123d-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87842263080cd67179c75793882f65fe14ad5b78631fff9c52471aece1aa7cfc
|
|
| MD5 |
665d21d6aa946bfe31d5fe4043e1f51c
|
|
| BLAKE2b-256 |
892873b893e29a9b6ed3b769254f3c61c4d50ecf269278bf3a1bee3651583fe3
|
Provenance
The following attestation bundles were made for py123d-0.3.0-py3-none-any.whl:
Publisher:
pypi.yaml on kesai-labs/py123d
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py123d-0.3.0-py3-none-any.whl -
Subject digest:
87842263080cd67179c75793882f65fe14ad5b78631fff9c52471aece1aa7cfc - Sigstore transparency entry: 1397923539
- Sigstore integration time:
-
Permalink:
kesai-labs/py123d@11055251530df18c2aa2d3a05a2ed63ebe0539f3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/kesai-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@11055251530df18c2aa2d3a05a2ed63ebe0539f3 -
Trigger Event:
release
-
Statement type: