GitHub

More Itertools

Python's itertools library is a gem - you can compose elegant solutions for a variety of problems with the functions it provides. In more-itertools we collect additional building blocks, recipes, and ...
Creating a zip() and enumerate() iteration adaptors akin to Python itertools utilities of the same name. Creating an adaptor for a container class which doesn't support the new C++11 range-for syntax.