def get_list_of_local_callables():
    """Generate and return the list of the local callables
    """
    from inspect import stack
    caller_locals = stack()[1][0].f_locals
    loc_callables = dict((k, v) for k, v in caller_locals.items()
                         if callable(v))

    return loc_callables
Generate and return the list of the local callables
    
recipes/Python/577947_Generate_automatically_list_actions/recipe-577947.py