Python 3 implementation of YABE.