# dbprocessing

# dbprocessing.module.module

class dbprocessing.module.module(*args)

  Support for using/loading environment modules

  __init__(*args)

    Commands are entered as args to this class then parsed

    Parameters
      args `list` of `str`

        Arguments passed straight through to module

    Examples

        >>> mod = module('load', 'icy')

  Methods

  `get_env`(*args) | Return a complete environment.

  Attributes

  `env`
  classmethod get_env(*args)

    Return a complete environment.

    Parameters
      args `list` of `str`

        Arguments to pass direction to module command.

    Returns
      `dict`

        Environment variables, starting with current environment and modified by the module commands. Suitable as `env` argument in `subprocess.call()`.

  env

    Environment variables (`dict`)

Release: 0.1.0 Doc generation date: Feb 10, 2022