Skip to main content

PointCloud2

PointCloud2 lib for non ROS environment.

PyPI version PyPI license PyPI download month

Usage

>>> import numpy as np
>>> from pointcloud2 import create_cloud, read_points, PointField
>>> fields = [
...     PointField('x', 0, PointField.FLOAT32, 1),
...     PointField('y', 4, PointField.FLOAT32, 1),
...     PointField('z', 8, PointField.FLOAT32, 1),
...     PointField('rgb', 12, PointField.UINT32, 1),
... ]
>>> points = np.array([
...     [1, 0, 0, 255],
...     [0, 1, 0, 255],
...     [0, 0, 1, 255],
... ], dtype=np.float32)
>>> cloud = create_cloud(header=None, fields=fields, points=points)
>>> cloud.height, cloud.width, cloud.point_step, cloud.row_step, len(cloud.data)
(1, 3, 16, 48, 48)
>>> read_points(cloud)
array([(1., 0., 0., 255), (0., 1., 0., 255), (0., 0., 1., 255)],
      dtype=[('x', '<f4'), ('y', '<f4'), ('z', '<f4'), ('rgb', '<u4')])

Metadata

Release files for pointcloud2 0.7.0

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

Source distribution (sdist)

Source distribution for pointcloud2 0.7.0
File Size Uploaded Provenance Actions
pointcloud2-0.7.0.tar.gz 6.7 kB Without provenance Details for pointcloud2-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pointcloud2 0.7.0
File Interpreter ABI Platform Actions
pointcloud2-0.7.0-py3-none-any.whl Python 3 none any Details for pointcloud2-0.7.0-py3-none-any.whl

Total release size: 14.6 kB

Release files / pointcloud2-0.7.0.tar.gz

Download URL pointcloud2-0.7.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9598342abf93bf9cec3bd040a8d494e0f2158e6a5136b953b541661924ac5bd5
BLAKE2b-256 checksum
How to use checksums
83feaf24926e059899ca0e4c3bdac43ae50c0abecc7c480122598900df676d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pointcloud2-0.7.0-py3-none-any.whl

Download URL pointcloud2-0.7.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
576ba8319ae2e448226f906a2d325dacdbf02135fb7a97e02d0fde2812f0214b
BLAKE2b-256 checksum
How to use checksums
72faeb63263a89b44dd2f65c46c0271d6bea79774fcffa841cc8f69c7520d24c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pointcloud2 0.7.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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