-
Go into the sort .py file and set the minimum and maximum team sizes.
-
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)
-
Running the script will create a csv file.
- Python 3.8
- csvtool (optional, to make the teams.csv file more readable on the terminal)
sudo apt-get update && sudo apt-get upgradesudo apt-get install python3.8sudo apt-get install csvtoolClone the repository:
git clone https://github.com/dadoming/SortPeopleIntoTeams.gitInstall the requirements:
cd SortPeopleIntoTeams && pip install -r requirements.txtRun the normal name script:
python3 normal_sort.pyRun the intra names script:
python3 by_level_sort.pyFor more readability of the csv on the terminal:
csvtool readable teams.csv- Add a way if there are 6 people, for example, make it sort into 2 teams of 3 instead of 3 teams of 2.
- Add a way to insert remaining people into teams with less people.
- Eventually add an Intra API setting to sort people into teams based on their levels.
- Improve intra username sorting, very bad right now.