Permute project is a Python function that computes all permutations of the elements in a list of lists.
Various ways of permuting a list of lists (a.k.a. Cartesian product). The permutation is returned as a list of tuples.
permute( [ [1,2], [3,4,5] ] ) gives
[(1,3), (2,3), (1,4), (2,4), (1,5), (2,5)]