Skip to main content

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:

  1. ordered and unordered m-way combinations,

  2. generalizations of the four basic occupancy problems (‘balls in boxes’), and

  3. 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:

http://phillipmfeldman.org/Python/combinatorics.html

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page