Tools

_utils.file_exists(fname)

Check if a file exists and is non-empty.

_utils.splitext_plus(fname)

Split on file extensions, allowing for zipped extensions.

_utils.is_valid(fname)

Check if it is a valid format for activity files.

_utils.recursive_text_extract(node)

_utils.sans_ns(tag)

Remove the namespace prefix from a tag.

_utils.get_nodes(file_path, node_names, *[, …])

Parse XML document and iterate over specific nodes

_utils.camelcase_to_snakecase(string)

Converts the Camelcase string to snakecase string Example: ColumnName –> column_name :param string: String to be converted.