pwtools
Return elements from the iterable until it is exhausted. Then repeat the sequence indefinitely.