def get_factory_modules():
 mods = [x.get('module', None) for x in Factory.classes.values()]
 return [m for m in mods if m]

def get_factory_modules ( ) : mods = [ x . get ( 'module' , None ) for x in Factory . classes . values ( ) ] return [ m for m in mods if m ]
returns a list of all the modules registered in the kivy factory .