The factory can be used to automatically import any class from a module, by specifying the module to import instead of the class instance.
The class list and available modules are automatically generated by setup.py.
Example for registering a class/module:
>>> from kivy.factory import Factory
>>> Factory.register('Widget', 'kivy.uix.widget')
>>> Factory.register('Vector', 'kivy.vector')
Example of using the Factory:
>>> from kivy.factory import Factory
>>> widget = Factory.Widget(pos=(456,456))
>>> vector = Factory.Vector(9, 2)
Factory instance to use for getting new classes