Skip to main content

Livox SDK2 Python

Brief Introduction

Livox SDK2 Python uses pybind11 to wrap some of the Livox SDK2 C++ interfaces into Python.

SDK compatibility

This release bundles Livox SDK2 1.3.3 (upstream commit 68ae1e1). It supports HAP, Mid-360, and Mid-360S (MID360S, MID-360S, or Mid360s in the YAML configuration).

Requirements

  • Ubuntu 20.04+ (other modern Linux distros should also work)
  • CMake ≥ 3.16, a C++17-capable compiler, and the Python development headers
  • Python ≥ 3.8

Install the native build toolchain before invoking pip:

sudo apt update
sudo apt install build-essential cmake python3-dev

Installation & Usage

Build and install the Python wheel (which compiles the livox_sdk extension) in one step:

pip install .

After the installation finishes, the livox console script becomes available and mirrors the historical samples/livox_python/start.py demo:

livox

The CLI continuously publishes point clouds / IMU data at the configured pub_rate_hz until you press Ctrl+C. To temporarily override the YAML value, pass --pub-rate 20 (example) when launching the command.

Frame IDs, service names, and the pub_rate_hz are all driven by the YAML exported through livox_cfg. Edit the config once via livox_cfg new / livox_cfg set and every subsequent livox invocation will pick up the persisted values.

Variable Meaning Default
LIVOX_POINTCLOUD_MAX_POINTS Maximum points per frame (controls shared memory usage). 200000
LIVOX_POINT_FIELD_CAPACITY Maximum number of PointField entries carried in the message. 6
LIVOX_FRAME_ID_MAX_LEN Max characters stored in the Header.frame_id. 64
LIVOX_POINT_FIELD_NAME_MAX_LEN Max characters stored per field name. 32
LIVOX_POINTCLOUD_POINT_STEP Bytes per point (should match the Iceoryx point layout). 24

Adjust them to match the desired cloud density before starting the CLI.

All network parameters now live inside a YAML file stored alongside the installed package (.../site-packages/livox_sdk_cli/cfg/livox_start.yaml). Use the companion livox_cfg helper to create and persist edits:

livox_cfg new            # dump the current config into ./livox_start.yaml
# edit ./livox_start.yaml as needed
livox_cfg set livox_start.yaml  # persist the changes back into site-packages

Key fields of the YAML include pub_rate_hz, frame_id, pointcloud_service, and imu_service, allowing you to control every publisher parameter without touching code.

Device controls

auto_configure_device: true
pcl_data_type: 1       # Required: Cartesian high resolution.
work_mode: 1            # Normal mode.
imu_data_enabled: true
pattern_mode: null      # 0, 1, or 2 when explicitly required.
dual_emit_en: null
blind_spot_set: null
extrinsic_parameter: null  # Or {roll, pitch, yaw, x, y, z}; angle in degrees, xyz in mm.

# Mid-360S only. Keep null to preserve the LiDAR's current setting.
pps_sync_mode: null
esc_mode: null
imu_out_rate: null
imu_accel_range: null
imu_gyro_range: null

pcl_data_type deliberately supports only 1: the CLI decodes high-resolution Cartesian packets. Selecting low-resolution or spherical packets would require a different point decoder and is rejected before any device command is sent.

For development you can keep the editable install active with:

pip install -e .

Metadata

Release files for py-livox2 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for py-livox2 0.1.0
File
py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details
py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ ARM64 Details

Total release size: 24.7 MB

Release files / py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
57a7f64ee1bf175cdde3c94e14528cd35251f32808a926196d12508668ac54e1
BLAKE2b-256 checksum
How to use checksums
40fbf681ce776b602e98f11279309ec4d79be755e2eedf44fc5055794ea3a136
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
e819263d9dcb7833e85a5f31e66eb6ce04418fd17adeba194c4c9ea06c6bad03
BLAKE2b-256 checksum
How to use checksums
9eedff6711f443e8c5a2b61e7c4927c88f986cbfa7b360945ffe30bc412c72ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
56abddcd9da6ccf07ac95273f45e35dcafd48c8d8c180acf8d511db33891a7e5
BLAKE2b-256 checksum
How to use checksums
869000c0591979c266ebc2e698ae9bbdb4cb64f9e1a4ecb46aec8b8d22a4c4af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
382013fba5638d96781c370cdc10b877cdf90cdc8a29c1dc8b854e58afc42a35
BLAKE2b-256 checksum
How to use checksums
0d2b6444d7a30b7606edd544f6ad57ccbc696487a938bd77adff9f3e7e05cdc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f74416206a56fe0357ef5614130d636402ae445bcaa98cd3115a9338eb6cc833
BLAKE2b-256 checksum
How to use checksums
0e2c354213828dd5617f6f96ec02045267846ddc11be230da3cd242072186051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
19c88b2430ace14c43064e10640874c9060e456d7257afc5c1d277c7d8f95135
BLAKE2b-256 checksum
How to use checksums
864af6d7de1e417478a43e7838bd63ea402f331041cd9d1ecf65412737520282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dfc17f27c6099bc484bc0a52db75415780c8b9fed9a198fbac1c4d6a996abf8f
BLAKE2b-256 checksum
How to use checksums
29139a799a74f1ac92aa8bf89433074bf171040538266e6771356aa7996c9f5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
1e983329ca204372578f2901e4f90c27582dce328623d279d785f0e515b7bd50
BLAKE2b-256 checksum
How to use checksums
232a5e603297c7fdafc7b3fd69db6035ec89450f94f4c76a86a71de95dd8d7f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
713332d97bfc3276439c0943e0d6e8e1c522a990f0d5f8f24e177f51a06e8a79
BLAKE2b-256 checksum
How to use checksums
3bfdc36447917e6ea86f5053a9cfe3de6f717b052931b7633862fa63703bb3a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
412a50050e8502d50c974e535a8af1fca065a5875151670036a0eecbf1139c67
BLAKE2b-256 checksum
How to use checksums
321661b6678992673212e8b4472daf8387f43ee347c94b055b46586a674b6b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL py_livox2-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.1 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
651b9c84c127b93bcf0f88dcb64afabfe38f1e2489f57d47f52f8b97be6d3a39
BLAKE2b-256 checksum
How to use checksums
e667dd0acfa5f82e70edf0258e34d1de2f9baa379fedca2428194c88eb3e1a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL py_livox2-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
2481bc790a078a2ac572501c93972d96bf46dc6fd0aa91d2d534297fe8554cbf
BLAKE2b-256 checksum
How to use checksums
79741230a292b323ebc954e93f6f303d884b1b808ee80f8d4cd3cbfd8902bd6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Security for py-livox2 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for py_livox2-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page