Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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


Release history Release notifications

This version
History Node

1.4.5

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page