Configuration

panaetius is fairly easy to configure. There are just a couple of options to be aware of.

header.py

You should set a __header__.py next to your script or module.

This __header__.py should contain a __header__ variable that sets the name of your project/script.

E.g a __header__.py for the module plex_posters would look like:

__header__ = 'plex_posters'

If you are writing a script, simply place this __header__.py along side your script. Panaetius will pick this up when the script is ran.

If you are writing a module, you can either place the __header__.py alongside the script that uses your module. If this is not possible, panaetius will set the default __header__ variable to the name of the virtualenv that the script is activated from.

If neither of the above aren’t possible (say your script is running in a lambda on AWS), then __header__ will be set to the default of panaetius.