Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
209 lines (163 loc) · 10.6 KB

File metadata and controls

209 lines (163 loc) · 10.6 KB

PyVista

3D visualization and mesh analysis for science and engineering

PyVista examples gallery

PyPI Conda NumFOCUS Affiliated JOSS paper MIT License

PyVista is:

  • a NumPy-native API for 3D visualization and mesh analysis
  • dataset structures and filters for points, surfaces, and volumes
  • one plotting framework for notebooks, scripts, CI, and apps
  • streamlined 3D for newcomers and graphics experts alike

PyVista IPython demo

Why PyVista

PyVista is the foundational Python library for 3D visualization and mesh analysis in scientific computing and engineering. It plays the same role for 3D data that pandas plays for tabular data and xarray plays for labeled n-dimensional arrays: NumPy-native datasets for point clouds, surfaces, and volumetric meshes; a filter API covering clipping, slicing, thresholding, smoothing, and dozens of other operations; and a unified plotting framework that runs interactively in Jupyter notebooks, headlessly in CI, and as embedded views inside larger web and desktop applications.

Built for production

PyVista is the reliable layer between user code and the underlying graphics stack. The library is image-regression tested on every commit across all Python versions still in their lifecycle and VTK releases, holds its public API stable through a deliberate deprecation lifecycle, and locks rendering behavior under visual regression baselines. The C++ toolkit underneath provides few of these assurances and doesn't share our enthusiasm for testing and reliability, which is why downstream science and engineering teams build on PyVista.

Built to extend

Your downstream code can build on PyVista through a small, lazily evaluated extension API. Third-party packages attach domain-specific filters and plotter components via registered accessors, with no subclassing, no monkey-patching, and no vendoring of upstream algorithms. See Extending PyVista for the contract.

Quickstart

PyVista runs on Python 3.10+:

pip install pyvista

Or via conda-forge:

conda install -c conda-forge pyvista

Try PyVista in your browser without installing anything, on MyBinder.

Documentation

For general questions, ideas, or to share what you've built with PyVista, start a thread in GitHub Discussions or join the Slack community.

Connections

PyVista is used across science and engineering disciplines to visualize 3D data and models, generate publication-quality figures, automate analysis workflows, and build custom applications on top of PyVista's 3D capabilities.

  • awesome-pyvista: a continuously updated list of domain-specific tooling that interoperates with or is built on PyVista.
  • Connections page: selected highlights and context on how PyVista is used across the community.

Contributing

Contributor Covenant Code Triage Open in GitHub Codespaces

PyVista is mostly maintained on a volunteer basis and we welcome contributions of every shape. Bug reports, documentation fixes, new examples, filter ideas; all of it helps. Start with the Contributing Guide and our Code of Conduct.

Authors

contrib.rocks

PyVista is built by a global community. See the contributors page and the active list of authors. Made with contrib rocks.

Professional support

Many users and organizations rely on PyVista in production workflows, research pipelines, and custom visualization systems. For expert guidance, development help, or guaranteed support, there are several ways to engage with the people who build and maintain PyVista.

For general inquiries, reach out to [email protected] and we can help connect you with the right community experts for your 3D visualization or analysis needs.

For professional services such as consulting, custom development, feature design, integration support, or training, consider sponsoring PyVista's core developers through the "Sponsor this project" section on GitHub. Sponsorship provides direct access to experts and helps sustain the maintenance and feature work that keeps PyVista reliable. More details in the discussion post: #4033.

Citing PyVista

If you use PyVista in scientific research, please cite the JOSS paper.

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

@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}
}

Status

Deployment: PyPI Python versions Conda nix Packaging status

Build: CI python pre-commit.ci status

Quality: codacy codecov Ruff code style: prettier

Activity: PyPI downloads Conda downloads GitHub Repo stars Good first issue

Citation: JOSS Zenodo

Community: Slack Discussions

Affiliations & mentions: NumFOCUS Affiliated Awesome Scientific Computing