A Python package for generating a volume of questions based on a template. Source for Web app located at https://github.com/JA-VON/QGen-UI
QGen is available through PyPi and be installed using pip
pip install qgen
QGen needs either a yaml file or a python dictionary describing the configuration of question to be able to generate questions.
Open up a python console and then import qgen and use as follows:
import qgen
qgen.build_moodle_xml('/path/to/yaml/file/test.yml', number_of_questions=50)
For a description of what the YAML file should look like, please see the Getting Started guide in the Wiki.
import qgen
qgen.build_moodle_xml(dict_value=configuation_as_dictionary, number_of_questions=50)