Skip to main content

Module io_api

Module io_api 

Source
Expand description

I/O API for Python interop.

Provides lightweight in-memory representations of common simulation I/O formats (VTK, CSV, XYZ, LAMMPS dump, HDF5-style, trajectory). All types use plain f64, Vecf64, and String` — no nalgebra — for easy FFI.

Structs§

PyCsvReader
In-memory CSV reader.
PyCsvWriter
In-memory CSV writer.
PyHdf5Writer
In-memory HDF5-style writer (no actual HDF5 dependency).
PyLammpsReader
In-memory reader for LAMMPS dump files.
PyTrajectoryWriter
Multi-format trajectory writer (in-memory stub).
PyVtkWriter
In-memory VTK legacy-format writer (ASCII and binary stubs).
PyXyzReader
In-memory reader for the XYZ molecular dynamics format.
PyXyzWriter
In-memory writer for the XYZ molecular dynamics format.

Functions§

register_io_module
Register all I/O classes into a Python sub-module named "io".