Boltons: A set of BSD-licensed, pure-Python utilities
Toolz is one of my favorite python libraries. I use it all the time. It provides even more of this useful functionality. It also has a sped-up version called Cytoolz written with Cython.<p><a href="https://toolz.readthedocs.io" rel="nofollow">https://toolz.readthedocs.io</a><p><a href="https://github.com/pytoolz/cytoolz" rel="nofollow">https://github.com/pytoolz/cytoolz</a>