Module - utils

Module - utils#

Utilities module.

Functions

add_log_level(level_name, level_num[, ...])

Add a new logging level to the logging module.

change_tags(tags, *[, add_field, remove_field])

Change tensor tags to add or remove fields.

getfqdn_env([name])

Get the system FQDN, with priority given to environment variables.

is_api_adress(address)

Validate IP address value.

is_fqdn(hostname)

Check if a hostname is a fully qualified domain name.

merge_configs([overwrite_dict, value_transform])

Create Dynaconf settings, merge its with overwrite_dict and validate result.

rmtree(path[, ignore_errors])

Remove a directory tree.

tqdm_report_hook()

Visualize downloading.

validate_file_hash(file_path, expected_hash)

Validate SHA384 hash for file specified.