Python implementation of fmflib