Repository navigation
v0.1.0
First public release: a Rust extxyz parser behind a small, typed Python API,
for reading atomistic-simulation datasets into numpy or ASE.
Added
read_frames(parallel) anditer_frames(streaming, constant memory) for
whole-file reads, andread_firstfor the first frame alone. Column names
and metadata are preserved as written, without aliasing or normalisation.read_batchanditer_batchesfor atom-major concatenated batches, the
latter packing by a fixed frame count or an atom budget, with an optional
seeded shuffle. Batch composition does not depend on the thread count.scanfor a file's structure — byte offsets and atom counts, without
parsing frame contents — andinfer_schemafor a one-passSchemaof the
columns and metadata keys, their types and shapes, and how consistently they
appear across frames.FrameandBatchas frozen dataclasses;Batchcarries the CSR layout
PyTorch Geometric expects (offsets/ptr,batch,frame_indices).oxyz.ase:readandireadas drop-ins forase.io.read/ireadover
extxyz, with ASE's full index grammar, plusto_atomsandFrame.to_ase.
Requires the optionalaseextra.oxyz.ParseError, aValueErrorcarrying theframe_index,line_number,
andcolumnof the offending input.- An
oxyzcommand-line tool;oxyz scansummarises a file and its inferred
schema (--no-schema,--json). - Type stubs and
py.typed; numpy is the only required runtime dependency. - abi3 wheels for CPython 3.11 and newer on Linux (x86_64, aarch64), macOS
(arm64, x86_64), and Windows (x64).