Skip to main content
pyvista

Deployment

pypi conda

Build Status

azure

Metrics

codacy codecov

Citation

joss zenodo

License

MIT

Community

slack gitter

3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK)

PyVista is…

  • “VTK for humans”: a high-level API to the Visualization Toolkit (VTK)

  • mesh data structures and filtering methods for spatial datasets

  • 3D plotting made simple and built for large/complex data geometries

PyVista is a helper module for the Visualization Toolkit (VTK) that wraps the VTK library through NumPy and direct array access through a variety of methods and classes. This package provides a Pythonic, well-documented interface exposing VTK’s powerful visualization backend to facilitate rapid prototyping, analysis, and visual integration of spatially referenced datasets.

This module can be used for scientific plotting for presentations and research papers as well as a supporting module for other mesh 3D rendering dependent Python modules; see Connections for a list of projects that leverage PyVista.

Share this project on Twitter: tweet

Highlights

Head over to the Quick Examples page in the docs to explore our gallery of examples showcasing what PyVista can do! Want to test-drive PyVista? All of the examples from the gallery are live on MyBinder for you to test drive without installing anything locally: Launch on Binder

Overview of Features

  • Extensive gallery of examples (see Quick Examples)

  • Interactive plotting in Jupyter Notebooks using server-side rendering with ipyvtklink or client-side rendering with panel or ipygany.

  • Filtering/plotting tools built for interactivity (see Widgets)

  • Direct access to mesh analysis and transformation routines (see Filters)

  • Intuitive plotting routines with matplotlib similar syntax (see Plotting)

  • Import meshes from many common formats (use pyvista.read()). Support for all formats handled by meshio is built-in!

  • Export meshes as VTK, STL, OBJ, or PLY (mesh.save()) file types or any formats supported by meshio (pyvista.save_meshio())

Documentation

Refer to the documentation for detailed installation and usage details.

For general questions about the project, its applications, or about software usage, please create an issue in the pyvista/pyvista-support repository where the community can collectively address your questions. You are also welcome to join us on Slack or send one of the developers an email. The project support team can be reached at info@pyvista.org.

Installation

PyVista can be installed from PyPI using pip on Python >= 3.6:

pip install pyvista

You can also visit PyPI, Anaconda, or GitHub to download the source.

See the Installation for more details if the installation through pip doesn’t work out.

Connections

PyVista is a powerful tool that researchers can harness to create compelling, integrated visualizations of large datasets in an intuitive, Pythonic manner. Here are a few open-source projects that leverage PyVista:

  • itkwidgets: Interactive Jupyter widgets to visualize images, point sets, and meshes in 2D and 3D. Supports all PyVista mesh types.

  • ansys-mapdl-reader: Pythonic interface to ANSYS results, full, and archive files

  • PVGeo: Python package of VTK-based algorithms to analyze geoscientific data and models. PyVista is used to make the inputs and outputs of PVGeo’s algorithms more accessible.

  • omfvista: 3D visualization for the Open Mining Format (omf). PyVista provides the foundation for this library’s visualization.

  • discretize: Discretization tools for finite volume and inverse problems. discretize provides toVTK methods that return PyVista versions of their data types for creating compelling visualizations.

  • pymeshfix: Python/Cython wrapper of Marco Attene’s wonderful, award-winning MeshFix software.

  • tetgen: Python Interface to Hang Si’s C++ TetGen Library

Authors

Please take a look at the contributors page and the active list of authors to learn more about the developers of PyVista.

Contributing

We absolutely welcome contributions and we hope that our Contributing Guide will facilitate your ability to make PyVista better. PyVista is mostly maintained on a volunteer basis and thus we need to foster a community that can support user questions and develop new features to make this software a useful tool for all users while encouraging every member of the commutinity to share their ideas. To learn more about contributing to PyVista, please see the Contributing Guide and our Code of Conduct.

Citing PyVista

There is a paper about PyVista!

If you are using PyVista in your scientific research, please help our scientific visibility by citing our work!

Sullivan et al., (2019). PyVista: 3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK). Journal of Open Source Software, 4(37), 1450, https://doi.org/10.21105/joss.01450

BibTex:

@article{sullivan2019pyvista,
  doi = {10.21105/joss.01450},
  url = {https://doi.org/10.21105/joss.01450},
  year = {2019},
  month = {may},
  publisher = {The Open Journal},
  volume = {4},
  number = {37},
  pages = {1450},
  author = {C. Bane Sullivan and Alexander Kaszynski},
  title = {{PyVista}: 3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit ({VTK})},
  journal = {Journal of Open Source Software}
}

Metadata

Release files for pyvista 0.30.1

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

Source distribution (sdist)

Source distribution for pyvista 0.30.1
File Size Uploaded
pyvista-0.30.1.tar.gz 1.2 MB Details

Built distribution (wheel)

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

Total release size: 2.5 MB

Release files / pyvista-0.30.1.tar.gz

Download URL pyvista-0.30.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
12dbdbcda040768f253bbb8123ea0ad052bcc02ee917151bb15cc0c0fb4fed23
BLAKE2b-256 checksum
How to use checksums
2c609d180161ba6c48e6d991e1eaeb5dfc99d0e06dfb5f41d1895728a92f32df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

Release files / pyvista-0.30.1-py3-none-any.whl

Download URL pyvista-0.30.1-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2e0c896c294eb8adc58228259408ad279d0668450a78f187c427c5b59d25482b
BLAKE2b-256 checksum
How to use checksums
4b5308fad25083622bb11270b62de8811c820d77411f91245bf1d6293d804c24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

Release history Release notifications | RSS feed

0.48.4

2 release files

0.48.3

2 release files

0.48.2

2 release files

0.47.3

2 release files

0.47.1

2 release files

0.46.5

2 release files

0.46.4

2 release files

0.46.3

2 release files

0.46.2

2 release files

0.46.1

2 release files

0.45.3

2 release files

0.45.2

2 release files

0.45.1

2 release files

0.45.0

2 release files

0.44.2

2 release files

0.44.1

2 release files

0.43.8

2 release files

0.43.6

2 release files

0.43.4

2 release files

0.43.2

2 release files

0.43.1

2 release files

0.42.2

2 release files

0.41.1

2 release files

0.41.0

2 release files

0.40.4

2 release files

0.40.3

2 release files

0.40.2

2 release files

0.40.1

2 release files

0.40.0

2 release files

0.39.1

2 release files

0.38.5

2 release files

0.38.4

2 release files

0.38.3

2 release files

0.38.2

2 release files

0.36.0

2 release files

0.35.2

2 release files

0.34.2

2 release files

0.34.1

2 release files

0.33.3

2 release files

0.33.2

2 release files

0.33.1

2 release files

0.32.1

2 release files

0.32.0

2 release files

0.31.3

2 release files

0.31.2

2 release files

0.31.1

2 release files

This release

0.30.1 This release

2 release files

0.30.0

2 release files

0.29.1

2 release files

0.27.4

2 release files

0.27.3

2 release files

0.27.2

2 release files

0.27.1

2 release files

0.26.1

2 release files

0.26.0

2 release files

0.25.2

1 release file

0.25.1

1 release file

0.24.3

1 release file

0.24.2

1 release file

0.24.1

1 release file

0.24.0

1 release file

0.23.1

1 release file

0.23.0

1 release file

0.22.4

1 release file

0.22.2

1 release file

0.22.1

1 release file

0.22.0

1 release file

0.21.4

1 release file

0.21.3

1 release file

0.21.2

1 release file

0.21.1

1 release file

0.21.0

1 release file

0.20.4

1 release file

0.20.3

1 release file

0.20.2

1 release file

0.20.1

1 release file

0.20.0

1 release file

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