gradelib.io
- Input/Output
gradescope
- gradelib.io.gradescope.read(path: str | Path, standardize_pids=True, standardize_assignments=True) Gradebook
Read a CSV exported from Gradescope into a
gradelib.Gradebook
.- Parameters:
path (str or pathlib.Path) – Path to the CSV file that will be read.
standardize_pids (bool) – Whether to standardize PIDs so that they are all uppercased. This can be useful when students who manually join gradescope enter their own PID without uppercasing it. Default: True.
standardize_assignments (bool) – Whether to standardize assignment names so that they are all lowercased. Default: True.
- Return type:
canvas
- gradelib.io.canvas.read(path: str | Path, *, standardize_pids=True, standardize_assignments=True, remove_assignment_ids=True) Gradebook
Read a CSV of grades exported from Canvas.
- Parameters:
path (str or pathlib.Path) – Path to the CSV file that will be read.
standardize_pids (bool) – Whether to standardize PIDs so that they are all uppercased. Default: True.
standardize_assignments (bool) – Whether to standardize assignment names so that they are all lowercased. Default: True
remove_assignment_ids (bool) – Whether to remove the unique ID code that Canvas appends to each assignment name. Default: True.
- Return type: