enveloop (pypi): Various utility for handling loops, recursions, etc.
Keywords: loop|recursion|infinite-loop