17 lines
593 B
Markdown
17 lines
593 B
Markdown
# 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 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. |