excel2moodle package
This Python program helps to create Moodle questions in less time.
The aim is to put alle the information for the questions into a spreadsheet
file, and then parse it, to generate Moodle compliant XML-Files.
Furthermore this program lets you create a single .xml
-File with a selection
of questions, that then can be imported to a Moodle-Test.
Concept
The concept is, to store the different questions into categories of similar types and difficulties of questions, for each of which, a separated sheet in the Spreadsheet document should be created.
There Should be a sheet called “Kategorien”, where an overview over the different categories is stored. This sheet stores The names and descriptions, for all categories. The name have to be the same as the actual sheet names with the questions. Furthermore the points used for grading, are set in the “Kategorien” sheet
Functionality
Parse multiple Choice Questions, each into one XML file
Parse Numeric Questions, each into one XML file
create single XML File from a selection of questions
Subpackages
- excel2moodle.core package
- Submodules
- excel2moodle.core.category module
- excel2moodle.core.dataStructure module
QuestionDB
QuestionDB.appendQuestions()
QuestionDB.asyncInitAllCategories()
QuestionDB.clozeParser
QuestionDB.harmonizeDFIndex()
QuestionDB.initAllCategories()
QuestionDB.initCategory()
QuestionDB.mcParser
QuestionDB.nfParser
QuestionDB.nfmParser
QuestionDB.parseAllQuestions()
QuestionDB.parseCategoryQuestions()
QuestionDB.readCategoriesMetadata()
QuestionDB.setupAndParseQuestion()
QuestionDB.signals
QuestionDB.spreadsheet
QuestionDB.validator
QuestionDBSignals
processSheet()
- excel2moodle.core.etHelpers module
- excel2moodle.core.exceptions module
- excel2moodle.core.globals module
- excel2moodle.core.numericMultiQ module
- excel2moodle.core.parser module
- excel2moodle.core.question module
- excel2moodle.core.validator module
- excel2moodle.ui.settings module
Settings
Tags
Tags.ANSPICWIDTH
Tags.ANSTYPE
Tags.BPOINTS
Tags.CATEGORIESSHEET
Tags.EQUATION
Tags.FALSE
Tags.FIRSTRESULT
Tags.IMPORTMODULE
Tags.INCLUDEINCATS
Tags.LOGFILE
Tags.LOGLEVEL
Tags.NAME
Tags.NUMBER
Tags.PARTTYPE
Tags.PICTURE
Tags.PICTUREFOLDER
Tags.PICTURESUBFOLDER
Tags.PICTUREWIDTH
Tags.POINTS
Tags.QUESTIONPART
Tags.QUESTIONVARIANT
Tags.RESULT
Tags.SPREADSHEETPATH
Tags.TEXT
Tags.TOLERANCE
Tags.TRUE
Tags.TYPE
Tags.VERSION
Tags.WRONGSIGNPERCENT
Tags.default
Tags.full
Tags.place
Tags.typ()
- excel2moodle.core.stringHelpers module
- excel2moodle.extra package
- excel2moodle.ui package
- Submodules
- excel2moodle.ui.appUi module
MainWindow
MainWindow.actionSpreadsheet()
MainWindow.closeEvent()
MainWindow.connectEvents()
MainWindow.onButGenTest()
MainWindow.onSelectionChanged()
MainWindow.openAboutDlg()
MainWindow.openDocumentation()
MainWindow.openEqCheckerDlg()
MainWindow.parseSpreadsheetAll()
MainWindow.setIncludeCategoriesSetting()
MainWindow.setQVariantDefault()
MainWindow.setSheetPath()
MainWindow.setStatus()
MainWindow.staticMetaObject
MainWindow.toggleQuestionSelectionState()
MainWindow.treeRefreshCategory()
MainWindow.updateLog()
MainWindow.updateQuestionPreview()
ParseAllThread
- excel2moodle.ui.dialogs module
- excel2moodle.ui.treewidget module
- excel2moodle.ui.equationChecker module