Registry / data / ouster-sdk

ouster-sdk

JSON →
library0.16.2pypypiunverified

Official Python SDK for Ouster lidar sensors. Provides real-time data capture, visualization, and CLI tools for configuration, recording, and playback. Current version 0.16.2, with quarterly releases following a pattern of vX.Y.Z. Supports Python 3.8+. Breaking changes often involve reorganization under ouster.sdk prefix.

pip install ouster-sdk
INSTALL
IMPORT
SIG · OUSTER-SDK
O
ouster-sdk
datapythonv0.16.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LidarScan
from ouster import LidarScan
from ouster.sdk.client import LidarScan
client
from ouster import client
import ouster.sdk.client
ScanSource
from ouster import ScanSource
from ouster.sdk.client import ScanSource

Connect to an Ouster sensor and capture one LidarScan.

from ouster.sdk.client import SensorInfo, LidarScan, ScanBatcher from ouster.sdk.client import PacketSource import numpy as np # Connect to sensor (use hostname or IP) sensor_hostname = os.environ.get('OUSTER_HOSTNAME', '192.168.1.100') sensor_info = SensorInfo(sensor_hostname) print(sensor_info) # Create a packet source source = PacketSource(sensor_hostname) # Batcher to assemble LidarScan batcher = ScanBatcher(sensor_info) # Collect one scan for packet in source: scan = batcher(packet) if scan is not None: print(f"Got scan at {scan.timestamp}") break
ouster-cli --version
Debug
Known issues
breakingIn v0.11.0, all library-level modules were moved under ouster.sdk (e.g. ouster.client -> ouster.sdk.client). Old imports will break.
fix
Update imports to use ouster.sdk prefix. See migration guide: https://github.com/ouster-lidar/ouster-sdk/releases/tag/v0.11.0
affects: >=0.11.0
deprecatedScanBatcher constructor with (size_t, const packet_format&) is deprecated; use (const sensor_info&) version.
fix
Pass a sensor_info object instead of manual size and format. See ScanBatcher doc.
affects: >=0.13.1
breakingAs of v0.13.0, SDK is no longer compatible with firmware < 2.1.0. Sensors must be updated.
fix
Update sensor firmware to at least 2.1.0. Consult Ouster support.
affects: >=0.13.0
gotchaThe --coord-frame option in ouster-cli filter defaults to BODY for backward compatibility but may not apply sensor extrinsics. Use WORLD to apply pose.
fix
Specify --coord-frame WORLD or SENSOR explicitly to match expectations.
affects: >=0.16.1
Upgrade
Version history
0.16.2latest on PyPI · released May 5, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
OpenAI (training)
3
Resources
ouster-sdk — pip install ouster-sdk · libregistry