Port yokadi to Python3