-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/cgarjun/pyplug
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
PyPlug | ||
# pyplug | ||
This is simple plugin system based out of python, you can basically pass a config file with all necessary requirements and get the plugins to be executed | ||
|
||
## Requirements | ||
```python | ||
Python 2.7 | ||
pip install PyYaml | ||
``` | ||
|
||
## example_config | ||
|
||
Simple example of how config should be formatted. This is basically yaml format and easy human readable | ||
|
||
## example_plugins | ||
|
||
This is also extremly simple make any python file with a main function | ||
|
||
## Usage | ||
```python | ||
from pyplug import PluginManager | ||
|
||
pm = PluginManager(os.path.abspath('../example_config/plugins.yaml')) | ||
pm.run_all_plugins() | ||
``` |