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.2.0.tar.gz (150.2 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.2.0-py3-none-any.whl (96.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vtkio-0.2.0.tar.gz
  • Upload date:
  • Size: 150.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vtkio-0.2.0.tar.gz
Algorithm Hash digest
SHA256 270107fcd7cdad0bfe791002d487d1ff258c1a3e670bb9810005edb2ef15ce9f
MD5 d495d9e4b7ddd0343b59538731d3a9e6
BLAKE2b-256 3e2623354480d06508c41e0998753e8a976647a424a8113f558340362434ad4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vtkio-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 96.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vtkio-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1693a865e0f6f9c1641417dc568cb0633ce2b6b4dcb926ac2a9c440dd0e6ed
MD5 3422c538b01d7da53f6e3ff225eeb3ca
BLAKE2b-256 5e967b293c2c37309ed14a568fa182f65b5210b18fc4b29b6cfbb4b058f9792f

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