locan.data.metadata_utils#

Deal with metadata in LocData objects.

Functions to modify metadata in LocData objects.

Functions

load_metadata_from_toml(path_or_file_like)

Turn toml file into protobuf message instances.

merge_metadata([metadata, other_metadata])

Merge other_metadata into Locdata.meta.

message_scheme(message)

Provide message scheme with defaults including nested messages.

metadata_from_toml_string(toml_string)

Turn toml string into protobuf message instances.

metadata_to_formatted_string(message, **kwargs)

Get formatted string from Locdata.metadata.