Skip to main content

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

pyvista

PyVista is:

  • Pythonic VTK: 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 ipython demo

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.

PyVista is a NumFOCUS affiliated project

NumFOCUS affiliated projects

Status badges

Deployment

pypi Python versions conda Packaging status

Build Status

GH-CI python pre-commit.ci status

Metrics

codacy codecov

Activity

PyPIact condaact

Citation

joss zenodo

License

MIT

Community

slack discuss Good first issue GitHub Repo stars

Formatter

prettier

Linter

Ruff

Affiliated

NumFOCUS Affiliated

Mentioned

Awesome Scientific Computing

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 with server-side and client-side rendering with trame.

  • 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 a discussion in pyvista/discussions where the community can collectively address your questions. You are also welcome to join us on Slack.

Installation

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

pip install pyvista

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

See the Installation for more details regarding optional dependencies or 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.

Learn more about how PyVista is used across science and engineering disciplines by a diverse community of users on our Connections page.

Authors

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

contrib.rocks

Made with contrib rocks.

Contributing

Contributor Covenant Code Triage Open in GitHub Codespaces

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 community to share their ideas. To learn more about contributing to PyVista, please see the Contributing Guide and our Code of Conduct.

Star History

Star History Chart

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 and Kaszynski, (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 = {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}
}

Professional Support

While PyVista is an Open Source project with a big community, you might be looking for professional support. This section aims to list companies with VTK/PyVista expertise who can help you with your software project.

Company Name

Kitware Inc.

Description

Kitware is dedicated to build solutions for our customers based on our well-established open source platforms.

Expertise

CMake, VTK, PyVista, ParaView, Trame

Contact

https://www.kitware.com/contact/

Download files

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

Source Distribution

pyvista-0.46.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvista-0.46.0-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file pyvista-0.46.0.tar.gz.

File metadata

  • Download URL: pyvista-0.46.0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pyvista-0.46.0.tar.gz
Algorithm Hash digest
SHA256 521ea90b05e2339b3271983054924b9091350a7d5545fc88980dd2b79895dafc
MD5 6168f45812f8e2b9c34fca67be7f3d8d
BLAKE2b-256 e75a8b80becc5e317132eb8156eeeb564dc8e2203321c47a377017f2c1f8d45d

See more details on using hashes here.

File details

Details for the file pyvista-0.46.0-py3-none-any.whl.

File metadata

  • Download URL: pyvista-0.46.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pyvista-0.46.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32b7e3ebf4d70e89aead52d46a24abbbd1e48564cf524f2f91efe5fa302b3f0f
MD5 7d3dc2b92cab835ff73bc2b590f4c88e
BLAKE2b-256 5939a42bf1a87c9414ca6900ac694b92ed657300461913f0abe18d4364a716f1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.49.0

2 files

0.48.4

2 files

0.48.3

2 files

0.48.2

2 files

0.48.1

2 files

0.48.0

2 files

0.47.3

2 files

0.47.2

2 files

0.47.1

2 files

0.47.0

2 files

0.46.5

2 files

0.46.4

2 files

0.46.3

2 files

0.46.2

2 files

0.46.1

2 files

This release

0.46.0 This release

2 files

0.45.3

2 files

0.45.2

2 files

0.45.1

2 files

0.45.0

2 files

0.44.2

2 files

0.44.1

2 files

0.44.0

2 files

0.43.10

2 files

0.43.9

2 files

0.43.8

2 files

0.43.7

2 files

0.43.6

2 files

0.43.5

2 files

0.43.4

2 files

0.43.3

2 files

0.43.2

2 files

0.43.1

2 files

0.43.0

2 files

0.42.3

2 files

0.42.2

2 files

0.42.1

2 files

0.42.0

2 files

0.41.1

2 files

0.41.0

2 files

0.40.4

2 files

0.40.3

2 files

0.40.2

2 files

0.40.1

2 files

0.40.0

2 files

0.39.1

2 files

0.39.0

2 files

0.38.6

2 files

0.38.5

2 files

0.38.4

2 files

0.38.3

2 files

0.38.2

2 files

0.38.1

2 files

0.38.0

2 files

0.37.0

2 files

0.36.1

2 files

0.36.0

2 files

0.35.2

2 files

0.35.1

2 files

0.34.2

2 files

0.34.1

2 files

0.34.0

2 files

0.33.3

2 files

0.33.2

2 files

0.33.1

2 files

0.33.0

2 files

0.32.1

2 files

0.32.0

2 files

0.31.3

2 files

0.31.2

2 files

0.31.1

2 files

0.31.0

2 files

0.30.1

2 files

0.30.0

2 files

0.29.1

2 files

0.29.0

2 files

0.28.1

2 files

0.28.0

2 files

0.27.4

2 files

0.27.3

2 files

0.27.2

2 files

0.27.1

2 files

0.27.0

2 files

0.26.1

2 files

0.26.0

2 files

0.25.3

2 files

0.25.2

1 file

0.25.1

1 file

0.24.3

1 file

0.24.2

1 file

0.24.1

1 file

0.24.0

1 file

0.23.1

1 file

0.23.0

1 file

0.22.4

1 file

0.22.2

1 file

0.22.1

1 file

0.22.0

1 file

0.21.4

1 file

0.21.3

1 file

0.21.2

1 file

0.21.1

1 file

0.21.0

1 file

0.20.4

1 file

0.20.3

1 file

0.20.2

1 file

0.20.1

1 file

0.20.0

1 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