Skip to content

A short script to create random pairs from a given roster.

Notifications You must be signed in to change notification settings

Sid-the-Developer/EL-Pairing-Script

 
 

Repository files navigation

EL Buddy Date Script

A short script to create random pairs from a given roster.

Provides options to recycle pairs when no more combinations are possible, as well as to exclude a list of previously generated pairings.

Configuration

Edit the options directly in script. Could be turned into CLI arguments, but for ease of use hardcoding will likely be the most intuitive.

## Script Options ##
numWeeks = 26
allowRecycledPairs = False
useOldPairings = True

## File Information ##
outputFilePath = "outputFile.csv"
oldPairingsPath = "inputFile.csv"
emergelingsPath = "roster.csv"
advisorsPath = "advisors.csv"

It should be possible to locate files outside of the folder where the script is contained, but it's likely easiest to simply place the script in the folder where pairings will be stored.

Running

Set the desired options as shown above, and run by calling

python3 buddyDates.py

From the folder where the script is located.

About

A short script to create random pairs from a given roster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%