This module is responsible for loading plugins.
A class loading all available plugins using setuptools entrypoints. First, all paths in the ‘core.plugin_paths’ configuration option are checked and all found setuptools distributions are added to the working set. These distributions usually are Python eggs - so, it is very easy to remove a plugin - you can just remove the egg from the plugin path. The plugin loader object is a dictionary subclass. You can access plugins by their keys, for example:
print self.app.plugins['desktops']
However, there is usually just one PluginLoader per samurai-x instance, and it’s loaded by the application. Internally.