harvester in python