Skip to content

Python scripts for bulk uploading grades and comments to Canvas

License

Notifications You must be signed in to change notification settings

JMU-CS/Upload-Canvas-Grades

Repository files navigation

Utilities for offline Canvas and Web-CAT grading. All scripts will show usage information when executed with no arguments. Running with the -h flag will show more detailed help information.

generate_form.py

This script generates a skeleton XML grade submission form from a Canvas .csv grade file.

The generated forms will contain a grade element for each student. The numeric score should be set in the score attribute. Any grading comments should be placed between the open and close grade tags.

	<grade name="STUDENT NAME" eid="student_eid" canvas_id="9999999"
	   score="27">

	  Any text here will show up as a grading comment in
	  Canvas. Newlines will be retained, but most other formatting
	  will be lost :(
	  
	  Nice work STUDENT NAME!
	  
	  TOTAL: 27/32

	</grade>

submit_form.py

Script for uploading XML grading forms containing numeric grade information and comments.

canvas_util.py

Utility code for posting grade information through the Canvas API. No need to interact with this directly.

About

Python scripts for bulk uploading grades and comments to Canvas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages