This module was created to supplement Python's itertools module, filling in gaps in the following areas of basic combinatorics: (A) ordered and unordered m-way combinations, (B) generalizations of the four basic occupancy problems ('balls in boxes'), and (C) constrained permutations, otherwise known as the 'off-by-m' problem.
Project description
This module was created to supplement Python’s itertools module, filling in gaps in the following areas of basic combinatorics:
ordered and unordered m-way combinations,
generalizations of the four basic occupancy problems (‘balls in boxes’), and
constrained permutations, otherwise known as the ‘off-by-m’ problem.
NOTE: The Python Package Index’s documentation system is currently broken. Pending fixes, I’m directing users to the documentation on my personal website: