agora.io.bridge

Tools to interact with h5 files and handle data consistently.

Functions

attrs_from_h5(fpath)

Return attributes as dict from an h5 file.

flatten(d[, parent_key, sep])

Flatten nested dict.

groupsort(iterable)

Sorts iterable and returns a dictionary where the values are grouped by the first element.

image_creds_from_h5(fpath)

Return image id and server credentials from an h5.

recursive_groupsort(iterable)

Recursive extension of groupsort.

Classes

BridgeH5(filename[, flag])

Base class to interact with h5 files.