dbprocessing.module.module¶
- class dbprocessing.module.module(*args)[source]¶
Support for using/loading environment modules
- __init__(*args)[source]¶
Commands are entered as args to this class then parsed
Examples
>>> mod = module('load', 'icy')
Methods
get_env(*args)Return a complete environment.
Attributes
- classmethod get_env(*args)[source]¶
Return a complete environment.
- Parameters
- Returns
dictEnvironment variables, starting with current environment and modified by the module commands. Suitable as
envargument insubprocess.call().
Release: 0.1.0 Doc generation date: Feb 10, 2022