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.

Source Distribution

pyviz3d-0.1.6.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

pyviz3d-0.1.6-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page