Skip to main content

pyvista-wasm

JupyterLite Stlite marimo Open In Colab Slidev Transifex

English | 日本語 | 繁體中文

PyVista-like API for VTK.wasm — bring intuitive 3D visualization to the browser using WebAssembly.

Try it with JupyterLite Try it with Stlite Try it with marimo
jupyterlite-preview stlite-preview marimo-preview

Table of Contents

Install

PyPI

pip install pyvista-wasm

For Pyodide/stlite:

import micropip

await micropip.install("pyvista-wasm")

Usage

import pyvista_wasm as pv

plotter = pv.Plotter()
plotter.add_mesh(pv.Sphere(), color="red")
plotter.show()

Presentation

The PyCon JP 2026 talk introduces pyvista-wasm with live demos and a deep dive into the WASM rendering architecture:

View the slide deck

Talk details on pretalx

Differences from pyvista-js

This project replaces the vtk.js rendering backend used in pyvista-js with VTK.wasm (@kitware/vtk-wasm npm package).

Key differences:

  • Rendering backend: VTK.wasm (WebAssembly port of VTK C++) instead of vtk.js (pure JavaScript reimplementation)
  • API style: VTK.wasm uses vtk.vtkRenderer() factory functions on a namespace object, vs vtk.js's vtk.Rendering.Core.vtkRenderer.newInstance() hierarchy
  • Initialization: VTK.wasm requires async initialization via vtkWASM.createNamespace() to load the WASM binary
  • Feature parity: VTK.wasm provides access to the full VTK C++ API, enabling features not available in vtk.js

Citation

If you use pyvista-wasm in academic or project work, please cite it. See CITATION.cff for the full citation metadata, or use the BibTeX entry below:

@software{Koyama2026pyvista-wasm,
  author       = {Tetsuo Koyama},
  title        = {{pyvista-wasm: PyVista-like API for VTK.wasm}},
  year         = {2026},
  version      = {0.9.0},
  license      = {Apache-2.0},
  url          = {https://github.com/tkoyama010/pyvista-wasm}
}

Contributing

Contributions are welcome! Please open an issue or pull request on GitHub. See CONTRIBUTORS.md for the list of contributors.

License

Apache License 2.0 © Tetsuo Koyama

Metadata

Release files for pyvista-wasm 0.17.0

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-wasm 0.17.0
File Size Uploaded Provenance Actions
pyvista_wasm-0.17.0.tar.gz 1.5 MB With provenance Details for pyvista_wasm-0.17.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / pyvista_wasm-0.17.0.tar.gz

Download URL pyvista_wasm-0.17.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
0c34e810a81dec162ebf1ef65ce73e98f77389713c06966a93eef4c4d982fa24
BLAKE2b-256 checksum
How to use checksums
9111b707c9e8cdb17cba0751c48172bc5980194ceb484517d937a23f5bec0054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / pyvista_wasm-0.17.0-py3-none-any.whl

Download URL pyvista_wasm-0.17.0-py3-none-any.whl
Size 101.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98a7926482b522d2bc761fa44ed375671278de0a74867f31a425b5965ca5106b
BLAKE2b-256 checksum
How to use checksums
8e467df4f778eec7ec6d2a2fdcd0456096e46704c16aa35a47f7bca81afdd376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for pyvista-wasm 0.17.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyvista_wasm-0.17.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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