CollTools provides functions to iterate over collections in specialized manner not currently supported by standard Python library.
The easiest way to install CollTools is from PyPi.
$ pip install colltools
Full documentation is available at https://colltools.readthedocs.io/en/latest/