add eachimg iterator to python lib