Skip to main content

Command‑line Swiss Army Knife for Canvas LMS

Project description

canvas_sak - canvas Swiss-Army-Knife

a command-line python based tool for teachers who use canvas.

you can download from Pypi. just pip install canvas-sak.

you will need to grab a "token" from your canvas account. go to the canvas webpage -> click on Account in the upper left -> click Settings -> scroll down and click the New Access Token button. you will need to put the token in a configuration file. canvas-sak help-me-setup will tell you how and where to create that configuration file.

some of the major functions:

  • code-similarity: download program submissions and run them through stanford MOSS.
  • collect-reference-info: collect high level information about student for when they later ask for letters of recommendation.
  • download-submissions: the the submissions of an assignment.
  • download/upload-course-content: download and upload course content as markdown files for easily reusing past courses in a way that is easy to change.
  • message-students: send a canvas messages to students from the commandline
  • list/set-due-dates: list and set due dates for assignments all at once

Ignore files pattern

  • canvas_sak will search for ignore patterns from the canvas_sak configuration file in the [IGNORE] section.
  • if there is a canvas-sak-ignore.lst file in the current directory, it will use patterns in that file as well.
  • canvas_sak will avoid processing files that match the ignore patterns.
  • the patterns are the same format at gitignore patterns.

Assignment Group files

ASSIGNMENT_GROUP_NAME: WEIGHT_PERCENTAGE ASSIGNMENT_NAME ASSIGNMENT_NAME

Example Group File

Assignments: 10% Assignment1 Hard Assignment Easy Assignment LastAssignment

Test1: 30% Test1

Test2: 30% Test2

Test3: 30%

Validations

  • Make sure the the weights add up to 100%. Halt with an error if it does not
  • If the Assignment group does not exist, create the group
  • If the Assignment doesn't exist, print an error
  • Print what would happen, but don't actually do it if the --no-dryrun is not used

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

canvas_sak-1.0.11.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canvas_sak-1.0.11-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file canvas_sak-1.0.11.tar.gz.

File metadata

  • Download URL: canvas_sak-1.0.11.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for canvas_sak-1.0.11.tar.gz
Algorithm Hash digest
SHA256 faa4bfadacd2c6480e19b14ba7ef3d2066f55b903c8cfdc8d9ebf56a2d626f7a
MD5 bd3e0508bc9aeec59f5ac186e43cc20e
BLAKE2b-256 0f47fc30322b370b75f1ca5f06db04fd44d1595a69187cebc3e976c7c009c333

See more details on using hashes here.

File details

Details for the file canvas_sak-1.0.11-py3-none-any.whl.

File metadata

  • Download URL: canvas_sak-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 38.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for canvas_sak-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 066b9b8292ab09bc30f4d3d5e73c9fbeb3e9acfb34f36872dff9d007cacd878d
MD5 992f1c8317517a1f7410d6397f11ff02
BLAKE2b-256 d82bb3903e6c35dd1c455bf408ecf454a558fa6b0cda290610d0f018441345ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page