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.

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.10.0.tar.gz (1.2 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.10.0-py3-none-any.whl (83.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyvista_wasm-0.10.0.tar.gz
  • Upload date:
  • Size: 1.2 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.10.0.tar.gz
Algorithm Hash digest
SHA256 d9b8f3b51f83c80a451d32d335806d80270775a756fb10465fff8274b6add417
MD5 c0fedd88ef530ba4a76953d6d17c7939
BLAKE2b-256 73c5478cb7a677c1836bd66dc1b1c03c700b0eb06d3dd35c8db4a133ae42670f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvista_wasm-0.10.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.10.0-py3-none-any.whl.

File metadata

  • Download URL: pyvista_wasm-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 83.5 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45fc81157347042158470dcca447f6d29cfe0e7e5c104b3433eb961934c9367e
MD5 6eac642eaeb030b49a22f800b2394c9a
BLAKE2b-256 c43b06d7e1bd4554432170cf0ae0365a7e87d20c8e4efbb232a4117c03ced979

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvista_wasm-0.10.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

0.12.0

2 files

0.11.0

2 files

This release

0.10.0 This release

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