A tool I made for automatically updating the tech titans leaderboard of the AURAK coding club.
- Clone the repository using
git clone https://github.com/theAbdoSabbagh/Leaderboarder.git
- Install the required packages using
pip install -r requirements.txt
- Run the script using
python main.py
- The script will automatically fetch the latest leaderboard from the AURAK Coding club Github.
- Alternatively, it will load the local data if it exists and the user chooses to do so.
- The leaderboard data will be displayed on the terminal
- The user will be prompted to enter the rank of the participant they want to update the score for.
- If there is multiple participants with the same rank, the user will be prompted to enter the index of the participant they want to update, from a menu that will be displayed.
- The user will be prompted to enter the multiplier to be applied to the score of the participant.
- Until they enter E to exit the modification mode, the user can continue updating scores.
- Once the user exits the modification mode, the user will be asked if they want to save the updated leaderboard to a local file.
- If the user chooses to save the file, the updated leaderboard will be saved to a file called
leaderboard.md
in the same directory as the script.
- If the user chooses to save the file, the updated leaderboard will be saved to a file called
I made this tool to automate the process of updating the leaderboard of the AURAK coding club. The leaderboard is hosted on the club's Github repository, and it must be updated manually. This tool fetches the latest leaderboard, displays it to the user, and allows them to automatically update the scores of the participants. This way, the leaderboard can be updated quickly and efficiently.
This project is licensed under the MIT License - see the LICENSE file for details.