Skip to main content

Tool for converting a list of questions in yaml/markdown to aBlackBoard test or to a Latex exam source file

Project description

QuizML

Tool for converting a list of questions in yaml/markdown to a BlackBoard test or to a Latex exam source file

Here is a minimal example of a quiz.yaml file. You write the questions in a YAML file, using a Markdown syntax:

- type: mc
  marks: 5           
  question: |
    If vector ${\bf w}$ is of dimension $3 \times 1$ and matrix ${\bf A}$ of
    dimension $5 \times 3$, then what is the dimension of $\left({\bf w}^{\top}{\bf
    A}^{\top}{\bf A}{\bf w}\right)^{\top}$?
  choices:
    - o:  $5\times 5$
    - o:  $3\times 3$
    - o:  $3\times 1$
    - x:  $1\times 1$

- type: tf
  marks: 5         
  question: |
    Is this the image of a tree?
    
    ![](figures/bee.jpg){ width=30em }
    
  answer: false

Then you can generate the BlackBoard exam, LaTeX, and HTML preview using the following command in the terminal:

quizml quiz.yaml

and this is what the provided default HTML preview looks like:

and this is what the BlackBoard output would look like:

and this is what the provided LaTeX template pdf output would look like:

Getting Started

This is a command line application. Assuming that you have python and pip installed, you can simply install it with:

pip install quizml

You will also need a LaTeX installation with gs and pdflatex.

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

quizml-0.9.2.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

quizml-0.9.2-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

Details for the file quizml-0.9.2.tar.gz.

File metadata

  • Download URL: quizml-0.9.2.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for quizml-0.9.2.tar.gz
Algorithm Hash digest
SHA256 6d54ad2139407ae8dca09b04c1fcce24a907bf6dc364de8b06fdc6e851acd225
MD5 31114bc433f4f8632e63c27060ca623f
BLAKE2b-256 823a1286ae2c7e3e82da9b7462c70ba8c7a241da1713b1c949ba0121fcaac9d8

See more details on using hashes here.

File details

Details for the file quizml-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: quizml-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 63.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for quizml-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc41f9dc971123bd62d5e64878442e9ba232cc4ce88eab8055d19e78b6d7a0f3
MD5 8fad184a9775af8f1456f4713e1c504c
BLAKE2b-256 303453284c295bfe9494084b5a39912f9bbe1e8650dabf33652389561285277a

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