import inspect


def list_functions(module):
    """
    List top-level function name & function
    :param module: the module
    :return: dict of all functions
    """
    return dict(inspect.getmembers(module, inspect.isfunction))