import string


def get_deliver_from_class(class_name):
    """
    Create deliver name from Class Name
    Examples:
        >>> get_deliver_from_class('DemoApp')
        '_demo_app'
    """

    split_text = []
    last_position = 0
    for i in range(1, len(class_name)):
        if class_name[i] in string.ascii_uppercase:
            split_text.append(class_name[last_position:i].lower())
            last_position = i

        split_text.append(class_name[last_position:len(class_name)].lower())

    return '_' + '_'.join(split_text)