pigjar-15 Python 3 conversion