Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dec115c596 | |||
| 591cc49933 | |||
| 36807b7aa6 | |||
| afc38c32b3 | |||
| 798165c501 | |||
| fc247d4888 | |||
| 394f72d383 |
@@ -1,3 +1,17 @@
|
||||
# XtendR
|
||||
|
||||
A python 3 extension system to ease the use of plugins.
|
||||
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.
|
||||
@@ -3,13 +3,13 @@ if __name__ == "__main__":
|
||||
|
||||
setup(
|
||||
name="XtendR",
|
||||
version="0.0.3",
|
||||
version="0.0.4",
|
||||
packages=find_packages(),
|
||||
install_requires=[],
|
||||
author="Jan Lerking",
|
||||
author_email="",
|
||||
description="A modular plugin system for Python.",
|
||||
url="",
|
||||
url="www.gitea.com/Lerking/XtendR",
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
|
||||
Reference in New Issue
Block a user