Skip to main content

PyViz3D is a Python package to visualize 3D point clouds.

Project description

PyViz3D is a Python package to visualize 3D point clouds.


Using pip: pip install pyviz3d

Getting started

Minimal example:

import numpy as np
import pyviz3d as viz

points = np.array([[2.0, 0.0, 0.0], [0.0, 2.0, 0.0], [0.0, 0.0, 2.0]])  # Define 3D points
colors = np.array([[255, 0, 0], [0, 255, 0], [0, 0, 255]])  # Define corresponding colors

viz.show_pointclouds([points], [colors])  # Display point cloud


You are more then welcome to contribute your own changes via github pull requests.

We recommend developing in a conda environment. From your console, create a new conda environment (using python <=3.7, required for VTK) and activate it:

$ conda create --name <environment_name> python=3.7
$ conda activate <environment_name>


The maintainers of the package keep the recent version of the pyviz3d package available on PyPy and Anaconda. The anaconda package is created from the pypi package.


Loosely following the instructions from [1]

$ pip install twine

To test the release without messing around with the public PyPi release:

$ python sdist bdist_wheel
$ twine upload --repository-url dist/*

When happy, prepare a new release on github:

When done, we can upload the release to the public PyPi repository:

$ python sdist bdist_wheel
$ twine upload dist/*

We rely on Anaconda Cloud to host the pyviz3d package [2]

$ conda install anaconda-client conda-build conda-verify
$ conda config --set anaconda_upload no
$ conda skeleton pypi pyviz3d
$ conda build pyviz3d

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyviz3d, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size pyviz3d-0.1.6-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyviz3d-0.1.6.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page