Skip to main content

A simple package for converting data between VTK files (XML and HDF5) and NumPy arrays.

Project description

VTKio


A simple python package for reading and writing Visualization Tool Kit (VTK) files.

Supported features

Legacy ascii .vtk files are not supported and only the newer XML and HDF5 based formats are supported.

XML files can be written in ascii, base64 binary and appended base64 binary formats. This means all files remain valid XML documents. Support for reading and writing raw appended data is provided, but discouraged.

XML and VTKHDF files can also be read using the associated file readers.

Data is returned in appropriate VTK classes with arrays stored in numpy formats.

[!WARNING] VTKHDF files can only be opened in supported software.
For example, ParaView has full VTKHDF support in 5.13 and above.

VTK File Formats

All file formats have been developed based on VTK's documentation where the XML formats and newer VTKHDF formats are described in detail. Additional information can be found in Chapter 5 of the VTK Book.

Further information regarding the VTK data model can be found in the ParaView documentation.

Example datafiles can be found for various filetypes at the VTK Examples Repository.

Documentation

For full documentation visit jpmorr.gitlab.io/vtkio.

Related packages

The following packages have some overlap in functionality with VTKio:

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

vtkio-0.4.3.tar.gz (154.1 kB view details)

Uploaded Source

Built Distribution

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

vtkio-0.4.3-py3-none-any.whl (102.1 kB view details)

Uploaded Python 3

File details

Details for the file vtkio-0.4.3.tar.gz.

File metadata

  • Download URL: vtkio-0.4.3.tar.gz
  • Upload date:
  • Size: 154.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for vtkio-0.4.3.tar.gz
Algorithm Hash digest
SHA256 78f692e52104610dec13d645744d2d85cd11dc9d718b343ba60c2d22d879d213
MD5 784c117aab6eb1d8bcfef6fc6bc89c84
BLAKE2b-256 0397b4ac9000a388b8a5f857ba1c8506c9e6ec9dcab1908ce54e5af4236ec69d

See more details on using hashes here.

File details

Details for the file vtkio-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: vtkio-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 102.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for vtkio-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5c5be025a35b0bb90bf153bdc19602491ed6f9d58dd4ca1af573030c70ea2657
MD5 1597ff8214887c3fa3641194e8d8f697
BLAKE2b-256 a4a9adc241cf0d81aa36aa6861eb2fe33c51d76bd515c355ee931a118ac1c648

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