Skip to main content

pyvista-wasm

JupyterLite Stlite marimo Slidev

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

Download files

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

Source Distribution

pyvista_wasm-0.12.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

pyvista_wasm-0.12.0-py3-none-any.whl (84.3 kB view details)

Uploaded Python 3

File details

Details for the file pyvista_wasm-0.12.0.tar.gz.

File metadata

  • Download URL: pyvista_wasm-0.12.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyvista_wasm-0.12.0.tar.gz
Algorithm Hash digest
SHA256 cb7e80c6ac3bdbbd58f756b9a88e7b970d2c6e30e1798821fa4782cf3f96668e
MD5 d4a228c117da5d065b7f977a4f234f75
BLAKE2b-256 02e9ccfdbaa81842dfb3a5ee47f42de6282a57797e1e6966f076185e1e723e4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvista_wasm-0.12.0.tar.gz:

Publisher: release-please.yml on tkoyama010/pyvista-wasm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvista_wasm-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: pyvista_wasm-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 84.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyvista_wasm-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfee187b7def0e73caf44f37154bdf6e40b4136baebfe9ce74cbfc0b15d2ce5e
MD5 d616cca232065705000a8f8cf2c01dd9
BLAKE2b-256 6417b0adbc5695b4980c0fcbdff18713b7c5013c5a0d667f492b89690da352dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvista_wasm-0.12.0-py3-none-any.whl:

Publisher: release-please.yml on tkoyama010/pyvista-wasm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.13.0

2 files

This release

0.12.0 This release

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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