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
dict
Environment variables, starting with current environment and modified by the module commands. Suitable as
env
argument insubprocess.call()
.
Release: 0.1.0 Doc generation date: Feb 10, 2022