Skip to main content

A workflow for Canvas and Nbgrader

Project description

Workflow

Workflow.json (Config file)

A few things can or need to be added to workflow.json:

  • sequence, a list of assignments in order
    • For example: "sequence": [ "AssignmentWeek1", "AssignmentWeek2", "AssignmentWeek3"]
  • groups, a dict of groups of assignments
    • It should be a dict with as key the name of a group. The value of this dict is again a dict, with keys "assignments" and "weight". The key "assignments" should have as value a list of assignments and "weight" should have the relative weight as a number (for the whole group).
    • For example: "groups": { "Assignments": { "assignments": [ "AssignmentWeek1", "AssignmentWeek2", "AssignmentWeek3", ], "weight": 20 }}
  • resits, a dict of resits, and which assignments it replaces
    • It should be a dict with as keys the names of the resits, and as values the name of the assignment it replaces or a list of names.
    • For example: "resits": { "ResitExam1": "Exam1", "OverallResit": [ "Exam1", "Exam2" ] }
  • requirements, a list of minimal grades students have to have for assignment groups to pass the course
    • It should be a list of dictionaries, with as keys "groups" and "min_grade". The value of groups can be a string or list and should refer to the name of a group. The value of min_grade should be a number.
    • For example: "requirements": [ { "groups": "Theoretical_Assignments", "min_grade": 4.5 }, { "groups": ["Practical_Assignments", "Theoretical_Assignments"], "min_grade": 5.5 } ]

FAQ

Where to get an Canvas API key?

See the Canvas API Documentation

Where to store the Canvas API key?

The Workflow notebook will ask for it. Otherwise, it can be changed in the workflow.json file.

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

workflow_uva-0.2.5.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

workflow_uva-0.2.5-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file workflow_uva-0.2.5.tar.gz.

File metadata

  • Download URL: workflow_uva-0.2.5.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for workflow_uva-0.2.5.tar.gz
Algorithm Hash digest
SHA256 d2b310f993076ed0673d14faaab4de85779eff12aa73121cb64beb781b352f3f
MD5 00781276c5e705ddb231cff99089dd78
BLAKE2b-256 092d8424b1c225f67b338dbbf8e925b5b2400a17306ef59e43c4ce9a1c86d485

See more details on using hashes here.

File details

Details for the file workflow_uva-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: workflow_uva-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for workflow_uva-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2616e9e8ae49aad07c2a63ad5078fd8c1dbc9df39b310dff0c0edc9e88b904a5
MD5 e2aeb60a16ae0d08d4a2a86a9d413737
BLAKE2b-256 f6e697282469bccbf26a21f252c9de2a548f32f0f755f6af391cdf3c926bd8d5

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