ItertoolsΒΆ

Itertools provides Python developers with a number of iterator building blocks that are modeled on other functional languages.

Use of itertools can work well when you need to build performant, functional-like Python programs.