EduLinq Quiz Composer API Reference: latest (066a96b)

quizcomp

The quizcomp package contains general tools and abstractions for working with quizzes in the Quiz Composer interface.

This package contains the following CLI tools:


quizcomp.cli.*

The `quizcomp.cli` package contains tools for running the quizcomp. Each package can be invoked to list the tools (or subpackages) it contains. Each tool includes a help prompt that accessed with the `-h`/`--help` flag.


quizcomp.cli.canvas.*

The `quizcomp.cli.canvas` package contains tools for interacting with the Canvas LMS.


quizcomp.cli.canvas.upload

Upload a quiz.

usage: python3 -m quizcomp.cli.canvas.upload [-h] [--version]
                                             [--server SERVER]
                                             [--server-type {blackboard,canvas,moodle}]
                                             [--auth-user AUTH_USER]
                                             [--auth-password AUTH_PASSWORD]
                                             [--auth-token AUTH_TOKEN]
                                             [--course COURSE]
                                             [--format {json,table,text}]
                                             [--include-extra-fields]
                                             [--pretty-headers]
                                             [--skip-headers] [--force]
                                             QUIZ_PATH

quizcomp.cli.gradescope.*

The `quizcomp.cli.gradescope` package contains tools for interacting with Gradescope.


quizcomp.cli.gradescope.upload

Create and upload a GradeScope PDF quiz.

usage: python3 -m quizcomp.cli.gradescope.upload [-h] [--version]
                                                 [--out-dir OUT_DIR]
                                                 [--skip-tex] [--skip-pdf]
                                                 [--variants VARIANTS]
                                                 [--skip-key] [--seed SEED]
                                                 [--rubric] --course COURSE_ID
                                                 --user USER --pass PASSWORD
                                                 [--force] [--save-http]
                                                 PATH

quizcomp.cli.parse.*

The `quizcomp.cli.parse` package contains tools for parsing various objects/files from disk.


quizcomp.cli.parse.file

Parse a single file and output the results of the parse.

usage: python3 -m quizcomp.cli.parse.file [-h] [--version]
                                          [--format {canvas,html,json,md,tex,text}]
                                          PATH

quizcomp.cli.parse.question

Parse a single quiz question (JSON file) and output the result in the specified format.

usage: python3 -m quizcomp.cli.parse.question [-h] [--version]
                                              [--format {canvas,html,json,md,tex,qti}]
                                              [--key]
                                              PATH

quizcomp.cli.parse.quiz-for-testing

Parse a quiz for the purposes of testing. The quiz will be parsed one and content will be generated for (but not output) for each of the specified format (or none if none are specified).

usage: python3 -m quizcomp.cli.parse.quiz-for-testing [-h] [--version] [--key]
                                                      [--all-questions]
                                                      [--seed SEED]
                                                      PATH [FORMAT ...]

quizcomp.cli.parse.quiz

Parse a single quiz and output the results of the parse.

usage: python3 -m quizcomp.cli.parse.quiz [-h] [--version]
                                          [--format {canvas,html,json,md,tex,qti}]
                                          [--key] [--all-questions]
                                          [--no-shuffle] [--seed SEED]
                                          PATH

quizcomp.cli.pdf.*

The `quizcomp.cli.pdf` package contains tools for creating PDF files.


quizcomp.cli.pdf.create

Create a PDF quiz.

usage: python3 -m quizcomp.cli.pdf.create [-h] [--version] [--out-dir OUT_DIR]
                                          [--skip-tex] [--skip-pdf]
                                          [--variants VARIANTS] [--skip-key]
                                          [--seed SEED]
                                          PATH

quizcomp.cli.pdf.create_question

Create a PDF from a single question.

usage: python3 -m quizcomp.cli.pdf.create_question [-h] [--version]
                                                   [--out-dir OUT_DIR]
                                                   [--skip-tex] [--skip-pdf]
                                                   [--variants VARIANTS]
                                                   [--skip-key] [--seed SEED]
                                                   PATH

quizcomp.cli.qti.*

The `quizcomp.cli.qti` package contains tools for interacting with QTI files.


quizcomp.cli.qti.create

Parse a quiz and upload the quiz to Canvas.

usage: python3 -m quizcomp.cli.qti.create [-h] [--version] [--canvas]
                                          [--out OUT]
                                          PATH

quizcomp.cli.version

Get the version of the EduLinq Quiz Composer package.

usage: python3 -m quizcomp.cli.version [-h] [--version]
1"""
2The `quizcomp` package contains general tools and abstractions for
3working with quizzes in the Quiz Composer interface.
4"""
5
6__version__ = '1.0.1'