convert to python package