GromacsWrapper is a python package that wraps system calls to Gromacs tools into thin classes. This allows for fairly seamless integration of the gromacs tools into python scripts. This is generally superior to shell scripts because of python’s better error handling and superior data structures. It also allows for modularization and code re-use. In addition, commands, warnings and errors are logged to a file so that there exists a complete history of what has been done.
The source code itself is available in the GromacsWrapper git repository.
Please be aware that this is alpha software that most definitely contains bugs. The API is not stable yet and can change between releases.
It is your responsibility to ensure that you are running simulations with sensible parameters.