peekiter (pypi): PeekIter is a Python3 package that implements peeking into iterators via a wrapper class. Peeking means looking at the next element from a generator without consuming it.
Keywords: iter|iterator|generator|peek|loop