cards, a Python code which provides some useful functions when modeling processes involving a deck of cards, including switching between rank and suit or numeric index, return a symbol corresponding to a numeric index, and applying a perfect shuffle to a deck of 52.
The information on this web page is distributed under the MIT license.
cards is available in a Python version.
combo, a Python code which includes routines for ranking, unranking, enumerating and randomly selecting balanced sequences, cycles, graphs, gray codes, subsets, partitions, permutations, restricted growth functions, pruefer codes and trees.
python_combinatorics, a Python code which considers a variety of problems in combinatorics involving counting, combinations, permutations, and so on.