basic python tuple gen