def get_creator_by_name(name):
    """
    Get creator function by name.

    Args:
        name (str): name of the creator function.

    Returns:
        function: creater function.
    """
    return {'docker(container)': Container.creator,
            'shell': Bash.creator, 'docker(image)': Image.creator,
            'python': Script.creator, 'packer': Packer.creator,
            'ansible(simple)': Ansible.creator}[name]
def get_creator_by_name ( name ) : return { 'docker(container)' : Container . creator , 'shell' : Bash . creator , 'docker(image)' : Image . creator , 'python' : Script . creator , 'packer' : Packer . creator , 'ansible(simple)' : Ansible . creator } [ name ]
Get creator function by name.

    Args:
        name (str): name of the creator function.

    Returns:
        function: creater function.