- Download Jupyter notebooks from Canvas.
- Move notebooks into a folder named
submissions/{assignment_name}. The assignment name must match the name in nbgrader. - Run
python canvas2nbgrader.py. The result copies submissions to the submitted folder using student Canvas IDs. - Run
nbgrader autograde {assignment_name}to grade notebooks. - Run
nbgrader exportto update thegrades.csvfile. - Run
python nbgrader2canvas.pyand enter the Canvas ID of the course and assignment (located in the URL of the assignment page). The script requires your Canvas token saved in a file calledtoken.txt. The script uploads the grade and autograded notebook to Canvas for each student. The fileupload_log.csvrecords which autograded notebooks have been uploaded so that you can run the script again and it will skip over the students whose autograded notebook has not changed.
-
Notifications
You must be signed in to change notification settings - Fork 1
patrickwalls/canvas2nbgrader
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Python scripts to connect Canvas submissions to nbgrader
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published