dadoming / SortPeopleIntoTeams

2 stars 0 forks source link

Sort People into teams

  1. Go into the sort .py file and set the minimum and maximum team sizes.

  2. Create a file and put the names of the people you want to sort into teams in it, one name per line.

    • names.txt for random_sort.py (normal names)
    • names_42.txt for by_level_sort.py (sort by 42 rank given usernames)
  3. Running the script will create a csv file.

Requirements:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.8
sudo apt-get install csvtool

To Run:

Clone the repository:

git clone https://github.com/dadoming/SortPeopleIntoTeams.git

Install the requirements:

cd SortPeopleIntoTeams && pip install -r requirements.txt

Run the normal name script:

python3 normal_sort.py

Run the intra names script:

python3 by_level_sort.py

For more readability of the csv on the terminal:

csvtool readable teams.csv

To add: