envmodules

Python wrapper around environment modules ("module load")


License
BSD-3-Clause
Install
pip install envmodules==0.1

Documentation

This is a tiny importable Python wrapper for the Environment Modules system - the module load command often used in the shell on HPC systems.

Installation:

pip install envmodules

Usage:

import envmodules
envmodules.load('gcc/6.1.1')

Loading modules like this mostly affects external programs which you run in subprocesses. Most modules won't have much effect on Python code in the same process.