View consecutive web pages for grading with usernames pulled from a file, and record grades as you go. It reduces the need for copying and pasting, switching tabs, and navigating google sheets.
- Clone
- Examine
base_url
variable, tailor it to fit your need. - Fill
token
variable with your GitHub personal access token.
- Edit github_usernames.txt to contain a list of students' GitHub username, separated by \n. You could copy the entire column from Lab Grading Sheet.
- Run web_grade_helper.py
- Copy the grades in grades.txt to google sheet. Copy all and paste to the entire column.
- Keep your GitHub token safe
- Make sure the grades.txt from previous runs is deleted
- Make sure github_usernames.txt is in the current working directory
- Python 3.x required. On Windows, click the
web_grade_helper.py
file to run. On macOS or Linux, usepython3 web_grade_helper.py
to run.