Crombie Tools
CrombieTools.LoadConfig Namespace Reference


def LoadEnv (configs)
def LoadModuleFromEnv (EnvVarName)



Detailed Description

Defines the CrombieTools.LoadConfig package
@author Daniel Abercrombie <>

@package CrombieTools.LoadConfig
Package that loads local [configuration files](@ref envconfig) into environment.

Function Documentation

§ LoadEnv()

def CrombieTools.LoadConfig.LoadEnv (   configs)
Sources bash files and loads the resulting environment into os.environ

@param configs is a list of file names that should be searched for.
A string for a single configuration file is also accepted.

Definition at line 13 of file

References run.strip.

§ LoadModuleFromEnv()

def CrombieTools.LoadConfig.LoadModuleFromEnv (   EnvVarName)
Loads and returns a python file named in the environment as a module.

@param EnvVarName is an environment variable containing the name of a local .py file.
@returns the module handler from importing the .py file.

Definition at line 42 of file

References run.strip.

Variable Documentation

§ CrombieConfigs


Definition at line 55 of file

§ cuts