diff --git a/README.md b/README.md index 15e4833..d189a50 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,23 @@ There other options how I/O where you can define a file log for check errors if All's done!, you can init your service with **nssm start MonitService** and let's go. +# Developing plugins. + +You can add simple python scripts how plugins for add new collections to your data. + +The python scripts need have the next structure: + +```python +def stat(obj_stats): + + obj_stats['test_data']={'pos': 0} + + return obj_stats +``` + +You define a function with name *stat* and arguments *obj_stats* + +*obj_stats* is a python object. You can add new data or manipulate original collected data for your own proposites. + + diff --git a/pastafaristats/utils/__init__.py b/pastafaristats/utils/__init__.py new file mode 100644 index 0000000..e69de29