quizcomp.cli.parse

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

This package contains the following CLI tools:


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
1"""
2The `quizcomp.cli.parse` package contains tools for parsing various objects/files from disk.
3"""