Canvas LMS client: Download submissions, upload grades and comments from excel
Project description
Canvas client
A python client for grading canvas submissions.
Install
-
Make sure you have installed
pipandpython3 -
Install the client:
pip install canvas_client
Setup
-
Create and open a folder where you want to download the submissions
-
Create a
config.jsonfile by runningcanvas_clientin terminal (the config will be saved in the current folder) -
Fill the config properly (see the notes below):
-
e.g:
{ "url": "canvas.university.edu", "access_token": "1234abcdef", "course_id": 157, "labs": { "L1": { "assignment_id": 1024 }, "L2": { "assignment_id": 1025 } } }Note$^1$: you can find the
course idandassingment idby opening the approriate assingment in canvas:Note$^2$: to get an access token: open canvas, go to
Your profile->Settings->New access token->Generate Token-> copy the value
-
Usage
-
Download the submissions:
canvas_client <assingment name> -de.g.:
canvas_client L1 -dThis command downloads the submissions into the
assigmentsfolder and creates anL1.xlsfile with the student names, comments, etc. Write the grades and comments into this file. -
To upload the grades and comments:
canvas_client <assingment_name> -ue.g.:canvas_client L1 -uThis command uploads the content of the
L1.xlsNote: the grades will appear on canvas after 10-15 seconds (refresh the page if necessary)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file canvas_client-0.2.1.tar.gz.
File metadata
- Download URL: canvas_client-0.2.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1db685e0af129cc48be4d0b49044f75df0512c9948038503d7145b396893139
|
|
| MD5 |
da15c0444fc2a233a955849fab9c698e
|
|
| BLAKE2b-256 |
e4a9b3811d4da6be332656140951e3892b34987ff12f58da613f09963572e59a
|
File details
Details for the file canvas_client-0.2.1-py3-none-any.whl.
File metadata
- Download URL: canvas_client-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b00e015aff0648626e86e3be3154f2a2559fb19ff76db8414826f6c8643038b8
|
|
| MD5 |
088d031f05d663305a6893fa79e6d3e5
|
|
| BLAKE2b-256 |
fb5c50269297881a0be593c0691766cb2e96482775a5a8a6c26871f2c9420c3b
|