def get_path_from_dict(params: dict, delimiter: str = "_") -> str:
    """
    Return path where key/value pairs separated by colon represent a subdirectory.

    :param params:     Dictionary.
    :param delimiter   Character that delimits key/value pairs.
    :return:           String path in a form of 'key1:value1/key2:value2/.../key_n:value_n'
    """
    if params is None or len(params) == 0:
        return ""

    return delimiter.join([item[0].replace("_", "-") + ":"+str(item[1])
                           for item in sorted(params.items(), key=lambda i: i[0])])