This project provides a faster python-only alternative to itertools.product.
itertools.product
This generator iterates through the Cartesian product of the given iterables.