This is a python package with many tools that I use for scientific computing.
https://bitbucket.org/mforbes/pymmf