Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cgarjun/pyplug
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun Thekkumadathil authored and Arjun Thekkumadathil committed Jul 4, 2017
2 parents dd8ef2e + 9a560d0 commit 480e767
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion Readme.md
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()
```

0 comments on commit 480e767

Please sign in to comment.