weldx.asdf.utilΒΆ

Utilities for asdf files.

Functions

asdf_json_repr

See view_tree function.

dataclass_serialization_class

Generate a asdf serialization class for a python dataclass.

get_schema_path

Get the path to a weldx schema file.

get_yaml_header

Read the YAML header part (excluding binary sections) of an ASDF file.

notebook_fileprinter

Print the code from file/BytesIO to notebook cell with syntax highlighting.

read_buffer

Read ASDF file contents from buffer instance.

view_tree

Display YAML header using IPython JSON display repr.

write_buffer

Write ASDF file into buffer.

write_read_buffer

Perform a buffered write/read roundtrip of a tree using default ASDF settings.