Py2VTK is a low dependency module for exporting VTK files using Python for visualization/analysis in softwares like Paraview, VisIt or Mayavi.
Py2vtk borrows heavily from PyEVTK and UVW.
Py2vtk is still in development. Current and future features are listed below in no particular order:
- Setting up github actions powered CI
- Finalization of a first "release" to make available via Pypi and Spack. (Pypi completed, Spack on hold until further notice).
- Recreation of PyEvtk's API
- Parallel API using mpi4py.
- Support of Dask Arrays (Not started yet).
- Add documentation using docstrings and
sphinx
.
This package is hosted in Pypi and can be installed with pip. There is currently 3 installation modes:
-
Standard install (does not feature the MPI-enabled API)
python -m pip install py2vtk
-
MPI Install
python -m pip install py2vtk[mpi]
-
Test install, needed to run the unit tests locally
python -m pip install py2vtk[tests]
To run the unit tests locally, use the following commands
py.test -m serial # Serial tests
python mpi_tester.py . -m parallel # Parallel tests