A utility library for ladders and tournaments.
pair has simple tools for grouping players into teams, grouping teams into matchings, and assigning templates to team matchings
Latest release at https://github.com/knyte/pair/tarball/0.2.3
Install via pip (recommended):
pip install pair
1. Install dependencies
Don't worry about this if you installed using pip
pip install -r requirements.txt
python setup.py install # installs the whole module
(from the pair parent directory)
That's it! You can now use all the utility functions!
from pair import * # to get some quick documentation, type: help(pair_teams) help(pair_players) help(group_teams) help(group_players) help(assign_templates) # generally, you supply your information as dictionaries # and sometimes a scoring/profit function, and you # receive your outputs as sets of tuples