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

Project details


Supported by

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