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?
{ 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 .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quizml-0.8.0.tar.gz.
File metadata
- Download URL: quizml-0.8.0.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba96d15c518b02f4b1ec3a9340cda1b242743939f3c065cef4b889be1a2d8461
|
|
| MD5 |
b2e89d640602e103dd978df4d6a9b1b2
|
|
| BLAKE2b-256 |
5d7bca67f2a1a25e6bc15a66a38043b99f425e9f3c60afb1d56c80803224ee08
|
File details
Details for the file quizml-0.8.0-py3-none-any.whl.
File metadata
- Download URL: quizml-0.8.0-py3-none-any.whl
- Upload date:
- Size: 62.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2886f31625d81e918ec3dbea4228818ce1565376be8116343ab635e9ad56aa46
|
|
| MD5 |
d8537a72c8404910c7e9a39746e031a1
|
|
| BLAKE2b-256 |
9ac6aaaddaa45d91b48f843c6ae2a30bda58a8433412a90a2dfebe803175dabe
|