Python interface to libmegahal