trame-pyvista
Trame interface for PyVista. Provides web-based 3D viewers, Jupyter backends, scene exporters, and a Sphinx directive for embedding interactive plots in docs.
This package was extracted from the pyvista.trame subpackage so the
trame stack can release on its own cadence. PyVista discovers installed
functionality through entry points, so existing user code keeps working
once trame-pyvista is installed.
Install
pip install trame-pyvista
For Jupyter:
pip install "trame-pyvista[jupyter]"
What you get
-
Jupyter backends:
trame,server,client,html. Registered with PyVista via thepyvista.jupyter_backendsentry-point group, sopv.set_jupyter_backend('trame')works oncetrame-pyvistais installed. -
Plotter views:
PyVistaLocalView,PyVistaRemoteView,PyVistaRemoteLocalViewfor embedding in trame apps. -
plotter.tramenamespace: registered as a PyVista plotter component so exporters live under the trame namespace:import pyvista as pv pl = pv.Plotter() pl.add_mesh(pv.Sphere()) pl.trame.export_vtksz('scene.vtksz') pl.trame.export_html('scene.html')
-
Sphinx directive:
trame_pyvista.sphinx_extprovides theofflineviewerdirective used by PyVista docs to embed exported.vtkszscenes. Add toconf.py:extensions = ['trame_pyvista.sphinx_ext']
Usage
import pyvista as pv
pv.set_jupyter_backend('trame')
pl = pv.Plotter()
pl.add_mesh(pv.Wavelet())
pl.show()
Custom UI:
from trame_pyvista import plotter_ui
ui = plotter_ui(plotter, mode='trame')
See examples/ for runnable scripts covering local/remote views, custom
UIs, and toolbar customization.
Development
just sync # create venv and install dev deps
just test # unit tests
just test-playwright # Sphinx + browser integration tests
just lint # pre-commit (ruff, etc.)
just typecheck
just build
License
MIT. See LICENSE.
Metadata
Release files for trame-pyvista 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trame_pyvista-0.1.7.tar.gz | 79.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trame_pyvista-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 108.7 kB
Release files / trame_pyvista-0.1.7.tar.gz
| Download URL | trame_pyvista-0.1.7.tar.gz |
|---|---|
| Size | 79.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13d2c5d6fb58562891372a3638f40ea88f39d4e4414de927ee797e7907244233
|
|
BLAKE2b-256 checksum How to use checksums |
b8750cab7683efdc93d1e0d652727a6c847af9169276a8c77317819ea786096b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 14, 2026.
Transparency logRelease files / trame_pyvista-0.1.7-py3-none-any.whl
| Download URL | trame_pyvista-0.1.7-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c728d85732bc6e0eb69cef11205e55c9b921e8e587d9590d86dc29a65ad65202
|
|
BLAKE2b-256 checksum How to use checksums |
f17e14338648aaca4598437f62438b802727af9781824d120c47ca70d6cae96b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 14, 2026.
Transparency log