def find_available_plugins(loaded=False):
 active_plugins = set()
 for plugin_func in plugin_store.values():
  for (plugin, func) in plugin_func:
   active_plugins.add(plugin)
 d = {}
 for plugin in plugin_provides:
  if ((not loaded) or (plugin in active_plugins)):
   d[plugin] = [f for f in plugin_provides[plugin] if (not f.startswith('_'))]
 return d

def find_available_plugins ( loaded = False ) : active_plugins = set ( ) for plugin_func in plugin_store . values ( ) : for ( plugin , func ) in plugin_func : active_plugins . add ( plugin ) d = { } for plugin in plugin_provides : if ( ( not loaded ) or ( plugin in active_plugins ) ) : d [ plugin ] = [ f for f in plugin_provides [ plugin ] if ( not f . startswith ( '_' ) ) ] return d
list available plugins .