Skip to main content

Generic schedulers for competitions

Project description

The goal of this package is to provide high-quality, randomized schedule generators for competitions, particularly leagues. The schedulers generate lists of rounds for competitions when provided a list of teams or a team count.

Right now, this library supports schedule generation for pure round-robin competitions. While special wrappers are provided for round-robin leagues with between 1 and 4 meetings between teams, competitions with more meetings are possible.

There will be a v0.3, but I don’t know what should be in it. Should I clone scheduling formulas from real sports leagues? Do you want knockout cups, playoffs, or more predictable round-robin scheduling? I won’t know unless you tell me. Open feature requests on this project’s GitHub repo and tell me what you want to see in version 0.3!

Changes in v0.2

  • Standard round-robin schedulers for leagues with odd numbers of meetings.

Later changes in the v0.2 series

  • v0.2.1 added tests for higher-level round-robin schedules.

  • v0.2.2 and v0.2.3 added additional tests.

  • v0.2.4 rewrote the odd-numbered matrix generation and even-numbered match generation tests.

  • v0.2.5 rewrote the odd-numbered match generation test.

Changes in v0.1

  • Even-numbered standard round-robin schedulers.

Build status Coverage status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

competitions-scheduler-0.2.5.post2.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

competitions_scheduler-0.2.5.post2-py2.py3-none-any.whl (9.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file competitions-scheduler-0.2.5.post2.tar.gz.

File metadata

File hashes

Hashes for competitions-scheduler-0.2.5.post2.tar.gz
Algorithm Hash digest
SHA256 8545190e42e745a618c641f169901487fc0e4a0622930f778222a93d56137c2a
MD5 72855d1962af8847d941f06cba0c4311
BLAKE2b-256 45816d73aa0c6710248a97982ecaf00374a1fca0f746f80db382c871c04b32f3

See more details on using hashes here.

File details

Details for the file competitions_scheduler-0.2.5.post2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for competitions_scheduler-0.2.5.post2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe1788b6e619aac29301bb97a30cbe9edecfd2c925a2b14546b22ed70c3d2ecc
MD5 85703bb11403ba12e7635901a70eef70
BLAKE2b-256 7218d138f963145838a7c435131c8553cb68af2ebfb8888f5c39e9a0e49264b3

See more details on using hashes here.

Supported by

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