Reimplementing Sickle in python