nuscenes-devkit
The official devkit of the nuScenes dataset (www.nuscenes.org).
What it is and what it does
The nuScenes devkit is the official toolkit for working with the nuScenes autonomous driving dataset. It provides Python APIs to load, visualize, and evaluate predictions against multi-sensor data (lidar, radar, camera) collected from autonomous vehicles. The package handles 3D object detection, multi-object tracking, trajectory prediction, and semantic/panoptic segmentation of point clouds.
The devkit depends on standard scientific Python libraries (numpy, scipy, scikit-learn, matplotlib, opencv-python-headless) plus specialized tools like pyquaternion for 3D rotations, Shapely for geometry, and pycocotools for evaluation metrics. It's designed to work with downloaded nuScenes dataset splits (train, val, test, mini) organized in a specific folder structure, and provides tutorials and evaluation code for benchmark challenges.
Use it for:
- Evaluate 3D object detection models on the nuScenes benchmark dataset
- Develop and test autonomous driving perception algorithms using standardized multi-sensor data
- Analyze lidar point cloud semantic segmentation with panoptic labels
- Implement trajectory prediction models using the nuScenes prediction challenge framework
- Visualize and debug sensor fusion pipelines with synchronized camera, lidar, and radar data
- Benchmark tracking algorithms against ground-truth annotations across 40,000+ keyframes
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides tools to load, parse, and analyze the nuScenes autonomous driving dataset, including 3D object detection, tracking, prediction, and semantic segmentation of lidar and camera data.
Yes, if you are working with the nuScenes dataset or benchmarking autonomous driving perception systems. The package is actively maintained, has low install friction, and is the official toolkit for the dataset. However, verify that the non-commercial license restriction aligns with your use case before committing to production work.
Install
nuscenes-devkit on PyPI
pip
pip install nuscenes-devkituv
uv add nuscenes-devkitpoetry
poetry add nuscenes-devkitInstalling nuscenes-devkit
Before you install
Low friction installation with a pure-Python wheel. The package is actively maintained with a recent release (Aug 2025) and supports current Python versions (3.9, 3.12). Repository shows steady activity with 2789 stars.
License in practice
Licensed under Apache 2.0 but marked as non-commercial use only. Commercial use of this devkit requires separate licensing; verify terms before deploying in production systems.
Quickstart
pip install nuscenes-devkit
from nuscenes.nuscenes import NuScenes
ns = NuScenes(version='v1.0-mini', dataroot='/data/sets/nuscenes')
ns.render_sample(ns.sample[0]['token'])
Requires the nuScenes dataset to be downloaded and extracted to a local directory (e.g., /data/sets/nuscenes); the devkit alone is not functional without dataset files.
Verify before relying
- Whether the non-commercial license restriction applies only to the devkit code or also to derivative works built with it
- Dataset download and storage requirements beyond the devkit itself
- Performance characteristics when working with full-scale nuScenes data
Package facts
| License | apache-2.0 (noncommercial) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 14 — cachetools, descartes, fire, matplotlib, numpy, opencv-python-headless, Pillow, pyquaternion, scikit-learn, scipy, Shapely, tqdm, parameterized, pycocotools |
| Maintenance | actively maintained — 351 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 174,059/month — #10,292 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nuscenes_devkit-1.2.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
mmdetMMDetection is an object detection and instance…
permissive · top 15,000 on PyPI
ouster-sdkOuster SDK provides Python interfaces to…
permissive · top 15,000 on PyPI
nnunetv2nnU-Net is a semantic segmentation framework…
permissive · top 15,000 on PyPI
pycocotoolsProvides Python APIs for loading, parsing, and…
unclear · top 5,000 on PyPI
segmentation-models-pytorchProvides PyTorch-based neural network models…
permissive · top 15,000 on PyPI
matricePython SDK for building machine learning…
permissive · top 5,000 on PyPI
cleanlabCleanlab automatically detects and helps fix…
permissive · top 15,000 on PyPI
open-radar-dataProvides a registry and download utility for…
permissive · top 15,000 on PyPI
connected-components-3dLabels connected components in 2D and 3D images…
copyleft · top 15,000 on PyPI
python-motion-planningImplements motion planning algorithms including…
copyleft · top 15,000 on PyPI