In Python, you can increment iid as:

for iid, package in enumerate(client.search({'keywords': 'orange'})):

But it starts with 0 index.