Previous topic

Installation

Next topic

processors Package

This Page

Creating a new ProcessorΒΆ

Go into ./gnomon/processors/ and create a new file. Within that file, define a new class.

Once you have written your class, go into:

./gnomon/processors/__init__.py

Then import your class and append this class to the variable gnomon.processors._processors. This allows gnomon to find your processor by name.

Warning

Do not name your processor with a previously used name otherwise your new processor may not be found

Be sure to add the file to the version control system:

git add YOUR_FILENAME.py
git commit -m "Added new processor YOUR_FILENAME.py"