mirror of
https://gitea.com/Lerking/XtendR.git
synced 2025-07-21 12:41:17 +02:00
590 B
590 B
XtendR
A very basic python 3 extension system to ease the use of plugins.
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 folders, 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.