def import_from(module: str, name: str):
    """ Import a module with the given name (Equivalent of `from module import name`)

    Args:
        module (str): The namespace of the module
        name (str): The name to be imported

    Returns:
        The imported class, function, and etc
    """

    module = __import__(module, fromlist=[name])
    return getattr(module, name)