Python implementation of JFRED