Convert to python package