924 B
XtendR
A very basic python 3 extension system based on the K.I.S.S principle.
I was in need of a new plugin system, which would be simple and working well with Python 3.12.
I previously used yapsy, but this has not been maintained for a couple of years.
Furthermore it was getting too bloated and didn't work with Python 3.12.
I didn't find anything that suited my needs, so I decided to make my own.
At the moment only 4 functions are available:
- Attach
- Run
- Stop
- Detach
Attach and Detach are used for registrering/unregistrering a module on the system. The Run and Stop functions are mandatory in the plugin modules.
The system expects a folder called 'plugins', placed at the root, along side your main python file. Each plugin should be placed in subfolders, named as the plugin, inside the 'plugins' folder.
The example.py along with the example_plugin.py/json shows the workings of this plugin system.