SSPM simple plugin manger based on YAPSY
Super Simple Plugin Manager - SSPM
Super Simple Plugin Manager - SSPM is a library I created based off of Thibauld Nion's YAPSY. I liked how configurable YAPSY is and the inclusion of a configuration file to allow the plugin creator to include details about their plugin. Unfortunately, I found that YAPSY had a lot of functionality that I didn't need, it is out of date, and contains a lot of deprecated code. To address these issues I created SSPM. SSPM does not have the customization that yapsy has. However, it allows for much quicker implementation that I believe most people will find useful. It is meant to be a very simple hands-off plugin manager.
The easiest way to install is to use pip:
pip install SSPM
or if you have cloned the repo:
cd <path to repo> pip install . or cd <path to repo> python setup.py install
Initialize the plugin manager
plugin_manager = PluginManager(plugin_folder=\<INSERT PLUGINS DIR PATH HERE\>)
Import the plugins in the plugins directory
Get the imported plugin
plugin = sspm.get_active_plugin("Plugin name")
plugins = sspm.active_plugins
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.