Skip to main content

scivianna-vtk

Interactive VTK/PyVista visualization with vtk.js for Panel.

Installation

pip install scivianna-vtk

Usage

import panel_material_ui as pmui
from scivianna_vtk import VTKPlotter, polydata_to_dict
import pyvista as pv

# Create a simple sphere
sphere = pv.Sphere(theta_resolution=30, phi_resolution=30)

# Create plotter and feed it the mesh
plotter = VTKPlotter()
plotter.update_polydata(sphere)

# Show with Panel
plotter.show()

For a full interactive demo (geometry switcher, colormap, clip plane, colorbar), run the bundled example:

from scivianna_vtk.example import ExamplePanel

ExamplePanel().show()

Features

  • Interactive 3D visualization using vtk.js
  • Support for PolyData, UnstructuredGrid, StructuredGrid
  • Cell hover information display
  • Clip plane visualization and control
  • Binary data transfer for efficient performance

Dependencies

  • panel >= 1.4.0
  • param >= 2.0.0
  • numpy >= 1.24.0
  • pyvista >= 0.43.0
  • vtk >= 9.0.0

License

MIT

Metadata

Release files for scivianna-vtk 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scivianna-vtk 0.1.12
File Size Uploaded Provenance Actions
scivianna_vtk-0.1.12.tar.gz 244.6 kB Without provenance Details for scivianna_vtk-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scivianna-vtk 0.1.12
File Interpreter ABI Platform Actions
scivianna_vtk-0.1.12-py3-none-any.whl Python 3 none any Details for scivianna_vtk-0.1.12-py3-none-any.whl

Total release size: 489.1 kB

Release files / scivianna_vtk-0.1.12.tar.gz

Download URL scivianna_vtk-0.1.12.tar.gz
Size 244.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d7404170e9a0a7612575c78af38ab27ba6de25ba4255bfd73d615ee71c7e3e58
BLAKE2b-256 checksum
How to use checksums
ecc0dee238a41c0148d2d245ba27f0aab642770c480791d223d22e9590630f93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / scivianna_vtk-0.1.12-py3-none-any.whl

Download URL scivianna_vtk-0.1.12-py3-none-any.whl
Size 244.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4434a8525af2ee1c961b498211c57f0be4a844946e17c88dd315b93a2e59bb5c
BLAKE2b-256 checksum
How to use checksums
41bbd579331a40e3b6b94ce827f5de3b1a2513ef843b8ddcf40e51782445d759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for scivianna-vtk 0.1.12

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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