import inspect


def get(name):
    """
    Returns a mutation by name, this can be a function or a class name, in cases of a class name then an instance of that class will be returned.
    
    Parameters
    -----------
    name: str
        The name of the function or class.
    
    Returns
    --------
    out: function or instance of `Mutation`.
    """
    target = globals()[name]
    return target() if inspect.isclass(target) else target