Skip to main content

Low dependency module to export to VTK from python

Project description

Py2VTK

Code style: black CI Documentation Status

Py2VTK is a low dependency module for exporting VTK files using Python for visualization/analysis in softwares like Paraview, VisIt or Mayavi.

Acknowledgments

Py2vtk borrows heavily from PyEVTK and UVW.

Current state

Py2vtk is still in development. Current and future features are listed below in no particular order:

Current and planned features

  • 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.

Installation

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]
    

Running 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

Project details


Download files

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

Source Distribution

py2vtk-1.1.tar.gz (52.0 kB view details)

Uploaded Source

Built Distribution

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

py2vtk-1.1-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file py2vtk-1.1.tar.gz.

File metadata

  • Download URL: py2vtk-1.1.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for py2vtk-1.1.tar.gz
Algorithm Hash digest
SHA256 c9a5133ff5899fd5d2b9cce148f0b4ba70be78bb11f1ee0041b2534777c1ffc7
MD5 6d4cf6b8eff5335cbfd09bea4664e398
BLAKE2b-256 98dd56e892ba7f1da40dc054c728e426b3d3b1c9912067b48ffd42e6f85fcf6d

See more details on using hashes here.

File details

Details for the file py2vtk-1.1-py3-none-any.whl.

File metadata

  • Download URL: py2vtk-1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for py2vtk-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0eafa5fe029c1356c05ddf06d59302d84ee2b8a551a4316a979606a8480c0840
MD5 5894d42b15e06c2ff116827bc2c4b8ea
BLAKE2b-256 12c685e44e69e05af525b65f1e2ae568a9b3bc507c5ac7240c80e8b5dc43e427

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page