pimlico.cfg module¶
Global config
Various global variables. Access as follows:
from pimlico import cfg
# Set global config parameter cfg.parameter = “Value” # Use parameter print cfg.parameter
There are some global variables in pimlico
(in the __init__.py) that probably should be
moved here, but I’m leaving them for now. At the moment, none of those are ever written from
outside that file (i.e. think of them as constants, rather than config), so the only reason
to move them is to keep everything in one place.