pyampp.util.h5tree

Attributes

app

Functions

main(, show_attrs, max_attr_len, max_depth, flt, ...)

Print a tree of groups/datasets with shapes and dtypes.

Module Contents

pyampp.util.h5tree.app[source]
pyampp.util.h5tree.main(ctx: typer.Context, path: pathlib.Path | None = typer.Argument(None, exists=True, file_okay=True, dir_okay=False, readable=True), show_attrs: bool = typer.Option(False, '--attrs', help='Show dataset/group attributes.'), max_attr_len: int | None = typer.Option(120, '--attr-max', help='Max length for each attribute entry.'), max_depth: int | None = typer.Option(None, '--max-depth', help='Limit recursion depth.'), flt: str | None = typer.Option(None, '--filter', help='Only show paths matching this string.'), no_metadata: bool = typer.Option(False, '--no-metadata', help='Do not print metadata/* values.'), meta_only: bool = typer.Option(False, '--meta', help='Print only metadata/* values (no tree).'), save_normalized: pathlib.Path | None = typer.Option(None, '--save-normalized', help='For SAV input, also write the normalized canonical HDF5 to this path.')) None[source]

Print a tree of groups/datasets with shapes and dtypes.