excel2moodle 0.4.4__tar.gz → 0.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- excel2moodle-0.5.1/PKG-INFO +106 -0
- excel2moodle-0.5.1/README.md +85 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/exampleQuestions.html +42 -16
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/excel2moodle.core.html +33 -21
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/excel2moodle.extra.html +5 -4
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/excel2moodle.html +8 -5
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/excel2moodle.ui.html +5 -4
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/genindex.html +17 -13
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/howto.html +5 -4
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/index.html +6 -5
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/py-modindex.html +4 -3
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/search.html +4 -3
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/docs/_build/html/userReference.html +67 -53
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/category.py +14 -6
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/dataStructure.py +46 -39
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/parser.py +6 -1
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/question.py +44 -20
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/settings.py +6 -5
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/logger.py +16 -1
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/question_types/cloze.py +3 -3
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/question_types/mc.py +3 -3
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/question_types/nfm.py +1 -1
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/dialogs.py +33 -18
- excel2moodle-0.5.1/excel2moodle.egg-info/PKG-INFO +106 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/pyproject.toml +6 -1
- excel2moodle-0.5.1/test/test_nfmParsing.py +30 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/test/test_picture.py +16 -14
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/test/test_questionDataGet.py +31 -9
- excel2moodle-0.4.4/PKG-INFO +0 -63
- excel2moodle-0.4.4/README.md +0 -42
- excel2moodle-0.4.4/excel2moodle.egg-info/PKG-INFO +0 -63
- excel2moodle-0.4.4/test/test_nfmParsing.py +0 -61
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/LICENSE +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/MANIFEST.in +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/__init__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/__main__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/__init__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/etHelpers.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/exceptions.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/globals.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/numericMultiQ.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/stringHelpers.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/core/validator.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/extra/__init__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/extra/equationVerification.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/question_types/__init__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/question_types/nf.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/UI_equationChecker.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/UI_exportSettingsDialog.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/UI_mainWindow.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/UI_variantDialog.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/__init__.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/appUi.py +1 -1
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/equationChecker.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/treewidget.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle/ui/windowDoc.py +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle.egg-info/SOURCES.txt +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle.egg-info/dependency_links.txt +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle.egg-info/entry_points.txt +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle.egg-info/requires.txt +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/excel2moodle.egg-info/top_level.txt +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/setup.cfg +0 -0
- {excel2moodle-0.4.4 → excel2moodle-0.5.1}/test/test_parseQuestion.py +0 -0
@@ -0,0 +1,106 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: excel2moodle
|
3
|
+
Version: 0.5.1
|
4
|
+
Summary: A package for converting questions from a spreadsheet, to valid moodle-xml
|
5
|
+
Author: Jakob Bosse
|
6
|
+
License-Expression: GPL-3.0-or-later
|
7
|
+
Project-URL: Repository, https://gitlab.com/jbosse3/excel2moodle.git
|
8
|
+
Project-URL: Documentation, https://jbosse3.gitlab.io/excel2moodle
|
9
|
+
Keywords: moodle,XML,teaching,question,converter,open educational Ressource
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
11
|
+
Classifier: Operating System :: OS Independent
|
12
|
+
Requires-Python: >=3.10
|
13
|
+
Description-Content-Type: text/markdown
|
14
|
+
License-File: LICENSE
|
15
|
+
Requires-Dist: pyside6>=6.8.0
|
16
|
+
Requires-Dist: pandas>=2.1.3
|
17
|
+
Requires-Dist: lxml>=5.4.0
|
18
|
+
Requires-Dist: asteval>=1.0.6
|
19
|
+
Requires-Dist: python-calamine>=0.3.2
|
20
|
+
Dynamic: license-file
|
21
|
+
|
22
|
+
# excel 2 Moodle
|
23
|
+
{width=35%}
|
24
|
+
|
25
|
+
This Python program helps to create Moodle questions in less time.
|
26
|
+
The idea is to write the questions data into a spreadsheet file, from which the program generates the moodle compliant xml Files.
|
27
|
+
All questions or a selection of questions can be exported into one xml file to be imported into moodle.
|
28
|
+
|
29
|
+
## Concept
|
30
|
+
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.
|
31
|
+
|
32
|
+
A `settings` sheet contains global settings to be used for all questions and categories.
|
33
|
+
Another sheet stores metadata for the different categories of questions.
|
34
|
+
And each category lives inside a separate sheet inside the spreadsheet document.
|
35
|
+
|
36
|
+
## Getting Started
|
37
|
+
|
38
|
+
### Installation
|
39
|
+
To get started with excel2moodle first have a look at the [installation](https://jbosse3.gitlab.io/excel2moodle/howto.html#excel2moodle-unter-windows-installieren)
|
40
|
+
If you already have python and uv installed, it is as easy as running `uv tool install excel2moodle`.
|
41
|
+
|
42
|
+
### [ Documentation ](https://jbosse3.gitlab.io/excel2moodle/index.html)
|
43
|
+
Once excel2moodle is installed you can checkout the [example question sheet](https://gitlab.com/jbosse3/excel2moodle/-/tree/master/example?ref_type=heads)
|
44
|
+
in the repository.
|
45
|
+
|
46
|
+
Some steps are already documented as [ tutorials ](https://jbosse3.gitlab.io/excel2moodle/howto.html)
|
47
|
+
you can follow along.
|
48
|
+
|
49
|
+
And please have a look into the [**user Reference**](https://jbosse3.gitlab.io/excel2moodle/userReference.html)
|
50
|
+
of the documentation.
|
51
|
+
That part explains each part of defining a question.
|
52
|
+
|
53
|
+
|
54
|
+
## Functionality
|
55
|
+
* Equation Verification:
|
56
|
+
+ this tool helps you to validate the correct equation for the parametrized Questions.
|
57
|
+
* Question Preview:
|
58
|
+
+ This helps you when selecting the correct questions for the export.
|
59
|
+
* Export Options:
|
60
|
+
+ you can export the questions preserving the categories in moodle
|
61
|
+
|
62
|
+
### Question Types
|
63
|
+
* Generate multiple Choice Questions:
|
64
|
+
+ The answers can be pictures or normal text
|
65
|
+
* Generate Numeric Questions
|
66
|
+
* Generate parametrized numeric Questions
|
67
|
+
* Generate parametrized cloze Questions
|
68
|
+
|
69
|
+
|
70
|
+
{width=80%}
|
71
|
+
|
72
|
+
## Licensing and authorship
|
73
|
+
excel2moodle is lincensed under the latest [GNU GPL license](https://gitlab.com/jbosse3/excel2moodle/-/blob/master/LICENSE)
|
74
|
+
Initial development was made by Richard Lorenz, and later taken over by Jakob Bosse
|
75
|
+
|
76
|
+
## Supporting
|
77
|
+
A special thanks goes to the [Civil Engineering Departement of the Fachhochschule Potsdam](https://www.fh-potsdam.de/en/study-further-education/departments/civil-engineering-department)
|
78
|
+
where i was employed as a student associate to work on this project.
|
79
|
+
|
80
|
+
If You want to support my work as well, you can by me a [coffee](https://ko-fi.com/jbosse3)
|
81
|
+
|
82
|
+
# Changelogs
|
83
|
+
|
84
|
+
## 0.5.1 (2025-06-24)
|
85
|
+
Minor docs improvement and question variant bugfix
|
86
|
+
|
87
|
+
### bugfix (1 change)
|
88
|
+
|
89
|
+
- [Bullet points variant didn't get updated](https://gitlab.com/jbosse3/excel2moodle/-/commit/7b4ad9e9c8a4216167ae019859ebaa8def81d57f)
|
90
|
+
|
91
|
+
## 0.5.0 (2025-06-20)
|
92
|
+
settings handling improved
|
93
|
+
|
94
|
+
### feature (2 changes)
|
95
|
+
|
96
|
+
- [Pixmaps and vector graphics scaled to fit in preview](https://gitlab.com/jbosse3/excel2moodle/-/commit/00a6ef13fb2a0046d7641e24af6cf6f08642390e)
|
97
|
+
- [feature: category Settings implemented](https://gitlab.com/jbosse3/excel2moodle/-/commit/d673cc3f5ba06051aa37bc17a3ef0161121cb730)
|
98
|
+
|
99
|
+
### improvement (1 change)
|
100
|
+
|
101
|
+
- [Tolerance is harmonized by questionData.get()](https://gitlab.com/jbosse3/excel2moodle/-/commit/8d1724f4877e1584cc531b6b3f278bdea68b5831)
|
102
|
+
|
103
|
+
### Settings Errors are logged (1 change)
|
104
|
+
|
105
|
+
- [Log Errors in settings Sheet](https://gitlab.com/jbosse3/excel2moodle/-/commit/07e58f957c69ea818db1c5679cf89e287817ced3)
|
106
|
+
|
@@ -0,0 +1,85 @@
|
|
1
|
+
# excel 2 Moodle
|
2
|
+
{width=35%}
|
3
|
+
|
4
|
+
This Python program helps to create Moodle questions in less time.
|
5
|
+
The idea is to write the questions data into a spreadsheet file, from which the program generates the moodle compliant xml Files.
|
6
|
+
All questions or a selection of questions can be exported into one xml file to be imported into moodle.
|
7
|
+
|
8
|
+
## Concept
|
9
|
+
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.
|
10
|
+
|
11
|
+
A `settings` sheet contains global settings to be used for all questions and categories.
|
12
|
+
Another sheet stores metadata for the different categories of questions.
|
13
|
+
And each category lives inside a separate sheet inside the spreadsheet document.
|
14
|
+
|
15
|
+
## Getting Started
|
16
|
+
|
17
|
+
### Installation
|
18
|
+
To get started with excel2moodle first have a look at the [installation](https://jbosse3.gitlab.io/excel2moodle/howto.html#excel2moodle-unter-windows-installieren)
|
19
|
+
If you already have python and uv installed, it is as easy as running `uv tool install excel2moodle`.
|
20
|
+
|
21
|
+
### [ Documentation ](https://jbosse3.gitlab.io/excel2moodle/index.html)
|
22
|
+
Once excel2moodle is installed you can checkout the [example question sheet](https://gitlab.com/jbosse3/excel2moodle/-/tree/master/example?ref_type=heads)
|
23
|
+
in the repository.
|
24
|
+
|
25
|
+
Some steps are already documented as [ tutorials ](https://jbosse3.gitlab.io/excel2moodle/howto.html)
|
26
|
+
you can follow along.
|
27
|
+
|
28
|
+
And please have a look into the [**user Reference**](https://jbosse3.gitlab.io/excel2moodle/userReference.html)
|
29
|
+
of the documentation.
|
30
|
+
That part explains each part of defining a question.
|
31
|
+
|
32
|
+
|
33
|
+
## Functionality
|
34
|
+
* Equation Verification:
|
35
|
+
+ this tool helps you to validate the correct equation for the parametrized Questions.
|
36
|
+
* Question Preview:
|
37
|
+
+ This helps you when selecting the correct questions for the export.
|
38
|
+
* Export Options:
|
39
|
+
+ you can export the questions preserving the categories in moodle
|
40
|
+
|
41
|
+
### Question Types
|
42
|
+
* Generate multiple Choice Questions:
|
43
|
+
+ The answers can be pictures or normal text
|
44
|
+
* Generate Numeric Questions
|
45
|
+
* Generate parametrized numeric Questions
|
46
|
+
* Generate parametrized cloze Questions
|
47
|
+
|
48
|
+
|
49
|
+
{width=80%}
|
50
|
+
|
51
|
+
## Licensing and authorship
|
52
|
+
excel2moodle is lincensed under the latest [GNU GPL license](https://gitlab.com/jbosse3/excel2moodle/-/blob/master/LICENSE)
|
53
|
+
Initial development was made by Richard Lorenz, and later taken over by Jakob Bosse
|
54
|
+
|
55
|
+
## Supporting
|
56
|
+
A special thanks goes to the [Civil Engineering Departement of the Fachhochschule Potsdam](https://www.fh-potsdam.de/en/study-further-education/departments/civil-engineering-department)
|
57
|
+
where i was employed as a student associate to work on this project.
|
58
|
+
|
59
|
+
If You want to support my work as well, you can by me a [coffee](https://ko-fi.com/jbosse3)
|
60
|
+
|
61
|
+
# Changelogs
|
62
|
+
|
63
|
+
## 0.5.1 (2025-06-24)
|
64
|
+
Minor docs improvement and question variant bugfix
|
65
|
+
|
66
|
+
### bugfix (1 change)
|
67
|
+
|
68
|
+
- [Bullet points variant didn't get updated](https://gitlab.com/jbosse3/excel2moodle/-/commit/7b4ad9e9c8a4216167ae019859ebaa8def81d57f)
|
69
|
+
|
70
|
+
## 0.5.0 (2025-06-20)
|
71
|
+
settings handling improved
|
72
|
+
|
73
|
+
### feature (2 changes)
|
74
|
+
|
75
|
+
- [Pixmaps and vector graphics scaled to fit in preview](https://gitlab.com/jbosse3/excel2moodle/-/commit/00a6ef13fb2a0046d7641e24af6cf6f08642390e)
|
76
|
+
- [feature: category Settings implemented](https://gitlab.com/jbosse3/excel2moodle/-/commit/d673cc3f5ba06051aa37bc17a3ef0161121cb730)
|
77
|
+
|
78
|
+
### improvement (1 change)
|
79
|
+
|
80
|
+
- [Tolerance is harmonized by questionData.get()](https://gitlab.com/jbosse3/excel2moodle/-/commit/8d1724f4877e1584cc531b6b3f278bdea68b5831)
|
81
|
+
|
82
|
+
### Settings Errors are logged (1 change)
|
83
|
+
|
84
|
+
- [Log Errors in settings Sheet](https://gitlab.com/jbosse3/excel2moodle/-/commit/07e58f957c69ea818db1c5679cf89e287817ced3)
|
85
|
+
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
5
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7
|
-
<title>Fragenbeispiele — excel2moodle 0.
|
7
|
+
<title>Fragenbeispiele — excel2moodle 0.5.0 documentation</title>
|
8
8
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
|
9
9
|
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
|
10
10
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<script src="_static/jquery.js?v=5d32c60e"></script>
|
17
17
|
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
18
|
-
<script src="_static/documentation_options.js?v=
|
18
|
+
<script src="_static/documentation_options.js?v=1dd76d02"></script>
|
19
19
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
20
20
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
21
21
|
<script async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
@@ -36,9 +36,10 @@
|
|
36
36
|
|
37
37
|
<a href="index.html" class="icon icon-home">
|
38
38
|
excel2moodle
|
39
|
+
<img src="_static/excel2moodleLogo.png" class="logo" alt="Logo"/>
|
39
40
|
</a>
|
40
41
|
<div class="version">
|
41
|
-
0.
|
42
|
+
0.5.0
|
42
43
|
</div>
|
43
44
|
<div role="search">
|
44
45
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
@@ -87,7 +88,7 @@
|
|
87
88
|
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
|
88
89
|
<li class="breadcrumb-item active">Fragenbeispiele</li>
|
89
90
|
<li class="wy-breadcrumbs-aside">
|
90
|
-
|
91
|
+
<a href="https://gitlab.com//jbosse3/excel2moodle/blob/master/docs/exampleQuestions.rst" class="fa fa-gitlab"> Edit on GitLab</a>
|
91
92
|
</li>
|
92
93
|
</ul>
|
93
94
|
<hr/>
|
@@ -211,11 +212,11 @@ Es ist zu erkennen, wie die Antworten texte mit LaTex formatiert werden.</p>
|
|
211
212
|
<p class="admonition-title">Note</p>
|
212
213
|
<p>Die Fragentypen <code class="docutils literal notranslate"><span class="pre">NF</span></code> (numerisches Format) und <code class="docutils literal notranslate"><span class="pre">NFM</span></code> (multi numerisches Format)
|
213
214
|
werden als <code class="docutils literal notranslate"><span class="pre">numerical</span></code> in moodle exportiert. Sie unterscheiden sich daher nicht.
|
214
|
-
Daher ist Die Tabelle oben identisch mit der unten, wenn die
|
215
|
+
Daher ist Die Tabelle oben identisch mit der unten, wenn die Fragenvariante 1 gewählt ist.
|
215
216
|
Ansonsten unterscheiden sich die Zahlenwerte.</p>
|
216
217
|
</div>
|
217
218
|
<p>Die Tabelle <a class="reference internal" href="#tablekategorie1"><span class="std std-ref">Example Kategorie 02 Fragen NF und NFM Flächenberechnung</span></a> zeigt gegenübergestellt eine NF und eine NFM Frage, die beide in Moodle identisch dargestellt werden.
|
218
|
-
Das Ergebnis in Moodle zeigt das Bild unten <a class="reference internal" href="#imgfrage10101"><span class="std std-ref">Frage 1, bzw 2:
|
219
|
+
Das Ergebnis in Moodle zeigt das Bild unten <a class="reference internal" href="#imgfrage10101"><span class="std std-ref">Frage 1, bzw 2: Variante 1 wie sie in Moodle importiert ist.</span></a></p>
|
219
220
|
<span id="tablekategorie1"></span><table class="docutils align-default" id="id3">
|
220
221
|
<caption><span class="caption-text">Example Kategorie 02 Fragen NF und NFM Flächenberechnung</span><a class="headerlink" href="#id3" title="Link to this table"></a></caption>
|
221
222
|
<tbody>
|
@@ -281,9 +282,9 @@ Das Ergebnis in Moodle zeigt das Bild unten <a class="reference internal" href="
|
|
281
282
|
<span id="imgfrage10101"></span><a class="reference internal image-reference" href="_images/moodleDok_frage10101imMoodle.png"><img alt="Die obige Frage wie sie in Moodle erscheint" src="_images/moodleDok_frage10101imMoodle.png" style="width: 100%;" />
|
282
283
|
</a>
|
283
284
|
<figcaption>
|
284
|
-
<p><span class="caption-text">Frage <em>1, bzw 2:
|
285
|
+
<p><span class="caption-text">Frage <em>1, bzw 2: Variante 1</em> wie sie in Moodle importiert ist.</span><a class="headerlink" href="#id4" title="Link to this image"></a></p>
|
285
286
|
<div class="legend">
|
286
|
-
<p>Es handelt sich um die
|
287
|
+
<p>Es handelt sich um die Variante 1, zu erkennen, an dem ersten Satz an Variablen (b = 2,1; l = 3,4)
|
287
288
|
Die normalen Nutzer sehen nur die beiden blauen Bereiche, nicht den Namen der Frage</p>
|
288
289
|
</div>
|
289
290
|
</figcaption>
|
@@ -330,10 +331,16 @@ Beispiel: <code class="docutils literal notranslate"><span class="pre">\(</span>
|
|
330
331
|
<td><p>Länge l = {lange} m</p></td>
|
331
332
|
</tr>
|
332
333
|
<tr class="row-even"><td><p>breite</p></td>
|
333
|
-
<td><p>
|
334
|
+
<td><p>3; 2,5; 3,4</p></td>
|
334
335
|
</tr>
|
335
336
|
<tr class="row-odd"><td><p>lange</p></td>
|
336
|
-
<td><p>
|
337
|
+
<td><p>4; 3,8; 3,6</p></td>
|
338
|
+
</tr>
|
339
|
+
<tr class="row-even"><td><p>picture</p></td>
|
340
|
+
<td><p>true</p></td>
|
341
|
+
</tr>
|
342
|
+
<tr class="row-odd"><td><p>WrongSignCount</p></td>
|
343
|
+
<td><p>50</p></td>
|
337
344
|
</tr>
|
338
345
|
<tr class="row-even"><td></td>
|
339
346
|
<td></td>
|
@@ -344,17 +351,32 @@ Beispiel: <code class="docutils literal notranslate"><span class="pre">\(</span>
|
|
344
351
|
<tr class="row-even"><td><p>Result:1</p></td>
|
345
352
|
<td><p>breite*lange</p></td>
|
346
353
|
</tr>
|
347
|
-
<tr class="row-odd"><td><p>
|
348
|
-
<td
|
354
|
+
<tr class="row-odd"><td><p>Points:1</p></td>
|
355
|
+
<td></td>
|
356
|
+
</tr>
|
357
|
+
<tr class="row-even"><td><p>FirstResult:1</p></td>
|
358
|
+
<td><p>12</p></td>
|
349
359
|
</tr>
|
350
|
-
<tr class="row-
|
351
|
-
<td><p>Bestimmen sie den Rechteck Umfang
|
360
|
+
<tr class="row-odd"><td><p>Part:2</p></td>
|
361
|
+
<td><p>Bestimmen sie den Rechteck Umfang</p></td>
|
352
362
|
</tr>
|
353
|
-
<tr class="row-
|
363
|
+
<tr class="row-even"><td><p>Result:2</p></td>
|
354
364
|
<td><p>2*(lange+breite)</p></td>
|
355
365
|
</tr>
|
366
|
+
<tr class="row-odd"><td><p>Points:2</p></td>
|
367
|
+
<td></td>
|
368
|
+
</tr>
|
356
369
|
<tr class="row-even"><td><p>FirstResult:2</p></td>
|
357
|
-
<td><p>
|
370
|
+
<td><p>14</p></td>
|
371
|
+
</tr>
|
372
|
+
<tr class="row-odd"><td><p>Part:3</p></td>
|
373
|
+
<td><p>Bestimmen Sie die Diagonale (d)</p></td>
|
374
|
+
</tr>
|
375
|
+
<tr class="row-even"><td><p>Result:3</p></td>
|
376
|
+
<td><p>sqrt(lange**2+breite**2)</p></td>
|
377
|
+
</tr>
|
378
|
+
<tr class="row-odd"><td><p>First Result:3</p></td>
|
379
|
+
<td><p>5</p></td>
|
358
380
|
</tr>
|
359
381
|
</tbody>
|
360
382
|
</table>
|
@@ -364,6 +386,10 @@ Beispiel: <code class="docutils literal notranslate"><span class="pre">\(</span>
|
|
364
386
|
<figcaption>
|
365
387
|
<p><span class="caption-text">Zu sehen ist die CLOZE Frage. Es handelt sich um die gleichen Fragen wie bei der NFM Frage,
|
366
388
|
nur ist hier noch ein zweiter Teil angefügt, der nach dem Rechteckumfang fragt.</span><a class="headerlink" href="#id6" title="Link to this image"></a></p>
|
389
|
+
<div class="legend">
|
390
|
+
<p>An der Bewertung ist zu sehen, dass <code class="docutils literal notranslate"><span class="pre">wrongSignCount=50</span></code> zu der halben Punktzahl bei der Antwort mit falschem Vorzeichen führt.
|
391
|
+
Außerdem ist zu sehen, dass <span class="math notranslate nohighlight">\(1\%\)</span> Antwort Toleranz angewendet wurde.</p>
|
392
|
+
</div>
|
367
393
|
</figcaption>
|
368
394
|
</figure>
|
369
395
|
</section>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
5
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7
|
-
<title>excel2moodle.core package — excel2moodle 0.
|
7
|
+
<title>excel2moodle.core package — excel2moodle 0.5.0 documentation</title>
|
8
8
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
|
9
9
|
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
|
10
10
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<script src="_static/jquery.js?v=5d32c60e"></script>
|
17
17
|
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
18
|
-
<script src="_static/documentation_options.js?v=
|
18
|
+
<script src="_static/documentation_options.js?v=1dd76d02"></script>
|
19
19
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
20
20
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
21
21
|
<script src="_static/js/theme.js"></script>
|
@@ -35,9 +35,10 @@
|
|
35
35
|
|
36
36
|
<a href="index.html" class="icon icon-home">
|
37
37
|
excel2moodle
|
38
|
+
<img src="_static/excel2moodleLogo.png" class="logo" alt="Logo"/>
|
38
39
|
</a>
|
39
40
|
<div class="version">
|
40
|
-
0.
|
41
|
+
0.5.0
|
41
42
|
</div>
|
42
43
|
<div role="search">
|
43
44
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
@@ -62,6 +63,7 @@
|
|
62
63
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.category.Category.getCategoryHeader"><code class="docutils literal notranslate"><span class="pre">Category.getCategoryHeader()</span></code></a></li>
|
63
64
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.category.Category.id"><code class="docutils literal notranslate"><span class="pre">Category.id</span></code></a></li>
|
64
65
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.category.Category.name"><code class="docutils literal notranslate"><span class="pre">Category.name</span></code></a></li>
|
66
|
+
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.category.Category.points"><code class="docutils literal notranslate"><span class="pre">Category.points</span></code></a></li>
|
65
67
|
</ul>
|
66
68
|
</li>
|
67
69
|
</ul>
|
@@ -185,11 +187,13 @@
|
|
185
187
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.mandatoryTags"><code class="docutils literal notranslate"><span class="pre">Question.mandatoryTags</span></code></a></li>
|
186
188
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.name"><code class="docutils literal notranslate"><span class="pre">Question.name</span></code></a></li>
|
187
189
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.optionalTags"><code class="docutils literal notranslate"><span class="pre">Question.optionalTags</span></code></a></li>
|
190
|
+
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.points"><code class="docutils literal notranslate"><span class="pre">Question.points</span></code></a></li>
|
188
191
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.qtype"><code class="docutils literal notranslate"><span class="pre">Question.qtype</span></code></a></li>
|
189
192
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.Question.standardTags"><code class="docutils literal notranslate"><span class="pre">Question.standardTags</span></code></a></li>
|
190
193
|
</ul>
|
191
194
|
</li>
|
192
195
|
<li class="toctree-l3"><a class="reference internal" href="#excel2moodle.core.question.QuestionData"><code class="docutils literal notranslate"><span class="pre">QuestionData</span></code></a><ul>
|
196
|
+
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.QuestionData.categoryFallbacks"><code class="docutils literal notranslate"><span class="pre">QuestionData.categoryFallbacks</span></code></a></li>
|
193
197
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.question.QuestionData.get"><code class="docutils literal notranslate"><span class="pre">QuestionData.get()</span></code></a></li>
|
194
198
|
</ul>
|
195
199
|
</li>
|
@@ -241,7 +245,6 @@
|
|
241
245
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.TOLERANCE"><code class="docutils literal notranslate"><span class="pre">Tags.TOLERANCE</span></code></a></li>
|
242
246
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.TRUE"><code class="docutils literal notranslate"><span class="pre">Tags.TRUE</span></code></a></li>
|
243
247
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.TYPE"><code class="docutils literal notranslate"><span class="pre">Tags.TYPE</span></code></a></li>
|
244
|
-
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.VERSION"><code class="docutils literal notranslate"><span class="pre">Tags.VERSION</span></code></a></li>
|
245
248
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.WRONGSIGNPERCENT"><code class="docutils literal notranslate"><span class="pre">Tags.WRONGSIGNPERCENT</span></code></a></li>
|
246
249
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.default"><code class="docutils literal notranslate"><span class="pre">Tags.default</span></code></a></li>
|
247
250
|
<li class="toctree-l4"><a class="reference internal" href="#excel2moodle.core.settings.Tags.full"><code class="docutils literal notranslate"><span class="pre">Tags.full</span></code></a></li>
|
@@ -282,7 +285,7 @@
|
|
282
285
|
<li class="breadcrumb-item"><a href="excel2moodle.html">excel2moodle package</a></li>
|
283
286
|
<li class="breadcrumb-item active">excel2moodle.core package</li>
|
284
287
|
<li class="wy-breadcrumbs-aside">
|
285
|
-
|
288
|
+
<a href="https://gitlab.com//jbosse3/excel2moodle/blob/master/docs/excel2moodle.core.rst" class="fa fa-gitlab"> Edit on GitLab</a>
|
286
289
|
</li>
|
287
290
|
</ul>
|
288
291
|
<hr/>
|
@@ -300,7 +303,7 @@
|
|
300
303
|
<span id="excel2moodle-core-category-module"></span><h2>excel2moodle.core.category module<a class="headerlink" href="#module-excel2moodle.core.category" title="Link to this heading"></a></h2>
|
301
304
|
<dl class="py class">
|
302
305
|
<dt class="sig sig-object py" id="excel2moodle.core.category.Category">
|
303
|
-
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">excel2moodle.core.category.</span></span><span class="sig-name descname"><span class="pre">Category</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">description</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dataframe</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">
|
306
|
+
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">excel2moodle.core.category.</span></span><span class="sig-name descname"><span class="pre">Category</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">description</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">dataframe</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">settings</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/excel2moodle/core/category.html#Category"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#excel2moodle.core.category.Category" title="Link to this definition"></a></dt>
|
304
307
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
305
308
|
<p>Category stores a list of question. And holds shared information for all.</p>
|
306
309
|
<dl class="field-list simple">
|
@@ -309,8 +312,7 @@
|
|
309
312
|
<li><p><strong>name</strong> (<em>str</em>)</p></li>
|
310
313
|
<li><p><strong>description</strong> (<em>str</em>)</p></li>
|
311
314
|
<li><p><strong>dataframe</strong> (<em>DataFrame</em>)</p></li>
|
312
|
-
<li><p><strong>
|
313
|
-
<li><p><strong>version</strong> (<em>int</em>)</p></li>
|
315
|
+
<li><p><strong>settings</strong> (<em>dict</em><em>[</em><em>str</em><em>, </em><em>float</em><em> | </em><em>str</em><em>]</em>)</p></li>
|
314
316
|
</ul>
|
315
317
|
</dd>
|
316
318
|
</dl>
|
@@ -335,6 +337,11 @@
|
|
335
337
|
<em class="property"><span class="k"><span class="pre">property</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">name</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#excel2moodle.core.category.Category.name" title="Link to this definition"></a></dt>
|
336
338
|
<dd></dd></dl>
|
337
339
|
|
340
|
+
<dl class="py property">
|
341
|
+
<dt class="sig sig-object py" id="excel2moodle.core.category.Category.points">
|
342
|
+
<em class="property"><span class="k"><span class="pre">property</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">points</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">float</span></em><a class="headerlink" href="#excel2moodle.core.category.Category.points" title="Link to this definition"></a></dt>
|
343
|
+
<dd></dd></dl>
|
344
|
+
|
338
345
|
</dd></dl>
|
339
346
|
|
340
347
|
</section>
|
@@ -517,7 +524,7 @@ If the data is valid, the corresponding parser is fed with the data and run.</p>
|
|
517
524
|
</ul>
|
518
525
|
</dd>
|
519
526
|
<dt class="field-even">Return type<span class="colon">:</span></dt>
|
520
|
-
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
|
527
|
+
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><a class="reference internal" href="#excel2moodle.core.question.Question" title="excel2moodle.core.question.Question"><code class="xref py py-class docutils literal notranslate"><span class="pre">Question</span></code></a> | <code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
|
521
528
|
</dd>
|
522
529
|
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
523
530
|
<dd class="field-odd"><ul class="simple">
|
@@ -530,7 +537,7 @@ If the data is valid, the corresponding parser is fed with the data and run.</p>
|
|
530
537
|
|
531
538
|
<dl class="py attribute">
|
532
539
|
<dt class="sig sig-object py" id="excel2moodle.core.dataStructure.QuestionDB.signals">
|
533
|
-
<span class="sig-name descname"><span class="pre">signals</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><excel2moodle.core.dataStructure.QuestionDBSignals(
|
540
|
+
<span class="sig-name descname"><span class="pre">signals</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre"><excel2moodle.core.dataStructure.QuestionDBSignals(0x564e5d816430)></span></em><a class="headerlink" href="#excel2moodle.core.dataStructure.QuestionDB.signals" title="Link to this definition"></a></dt>
|
534
541
|
<dd></dd></dl>
|
535
542
|
|
536
543
|
<dl class="py property">
|
@@ -1159,8 +1166,8 @@ if no Exceptions are raised, <code class="docutils literal notranslate"><span cl
|
|
1159
1166
|
<dl class="py method">
|
1160
1167
|
<dt class="sig sig-object py" id="excel2moodle.core.question.Picture.getImgId">
|
1161
1168
|
<span class="sig-name descname"><span class="pre">getImgId</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">imgKey</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/excel2moodle/core/question.html#Picture.getImgId"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#excel2moodle.core.question.Picture.getImgId" title="Link to this definition"></a></dt>
|
1162
|
-
<dd><p>Get the image ID and width based on the given key
|
1163
|
-
The key should either be the full ID (as the question) or only the question Num.
|
1169
|
+
<dd><p>Get the image ID and width based on the given key.</p>
|
1170
|
+
<p>The key should either be the full ID (as the question) or only the question Num.
|
1164
1171
|
If only the number is given, the category.id is prepended.
|
1165
1172
|
The width should be specified by <cite>ID:width:XX</cite>. where xx is the px value.</p>
|
1166
1173
|
<dl class="field-list simple">
|
@@ -1177,14 +1184,13 @@ The width should be specified by <cite>ID:width:XX</cite>. where xx is the px va
|
|
1177
1184
|
|
1178
1185
|
<dl class="py class">
|
1179
1186
|
<dt class="sig sig-object py" id="excel2moodle.core.question.Question">
|
1180
|
-
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">excel2moodle.core.question.</span></span><span class="sig-name descname"><span class="pre">Question</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">category</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">rawData</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em
|
1187
|
+
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">excel2moodle.core.question.</span></span><span class="sig-name descname"><span class="pre">Question</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">category</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">rawData</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">parent</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/excel2moodle/core/question.html#Question"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#excel2moodle.core.question.Question" title="Link to this definition"></a></dt>
|
1181
1188
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
1182
1189
|
<dl class="field-list simple">
|
1183
1190
|
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
1184
1191
|
<dd class="field-odd"><ul class="simple">
|
1185
1192
|
<li><p><strong>category</strong> (<a class="reference internal" href="#excel2moodle.core.category.Category" title="excel2moodle.core.category.Category"><em>Category</em></a>)</p></li>
|
1186
1193
|
<li><p><strong>rawData</strong> (<a class="reference internal" href="#excel2moodle.core.question.QuestionData" title="excel2moodle.core.question.QuestionData"><em>QuestionData</em></a>)</p></li>
|
1187
|
-
<li><p><strong>points</strong> (<em>float</em>)</p></li>
|
1188
1194
|
</ul>
|
1189
1195
|
</dd>
|
1190
1196
|
</dl>
|
@@ -1224,6 +1230,11 @@ The width should be specified by <cite>ID:width:XX</cite>. where xx is the px va
|
|
1224
1230
|
<span class="sig-name descname"><span class="pre">optionalTags</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><code class="xref py py-data docutils literal notranslate"><span class="pre">ClassVar</span></code><span class="pre">[</span><code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code><span class="pre">[</span><a class="reference internal" href="#excel2moodle.core.settings.Tags" title="excel2moodle.core.settings.Tags"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tags</span></code></a><span class="pre">,</span> <code class="xref py py-class docutils literal notranslate"><span class="pre">type</span></code> <span class="pre">|</span> <span class="pre">]]</span></em><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">{Tags.PICTURE:</span> <span class="pre">int</span> <span class="pre">|</span> <span class="pre">str}</span></em><a class="headerlink" href="#excel2moodle.core.question.Question.optionalTags" title="Link to this definition"></a></dt>
|
1225
1231
|
<dd></dd></dl>
|
1226
1232
|
|
1233
|
+
<dl class="py property">
|
1234
|
+
<dt class="sig sig-object py" id="excel2moodle.core.question.Question.points">
|
1235
|
+
<em class="property"><span class="k"><span class="pre">property</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">points</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">float</span></em><a class="headerlink" href="#excel2moodle.core.question.Question.points" title="Link to this definition"></a></dt>
|
1236
|
+
<dd></dd></dl>
|
1237
|
+
|
1227
1238
|
<dl class="py property">
|
1228
1239
|
<dt class="sig sig-object py" id="excel2moodle.core.question.Question.qtype">
|
1229
1240
|
<em class="property"><span class="k"><span class="pre">property</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">qtype</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#excel2moodle.core.question.Question.qtype" title="Link to this definition"></a></dt>
|
@@ -1240,10 +1251,16 @@ The width should be specified by <cite>ID:width:XX</cite>. where xx is the px va
|
|
1240
1251
|
<dt class="sig sig-object py" id="excel2moodle.core.question.QuestionData">
|
1241
1252
|
<em class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">excel2moodle.core.question.</span></span><span class="sig-name descname"><span class="pre">QuestionData</span></span><a class="reference internal" href="_modules/excel2moodle/core/question.html#QuestionData"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#excel2moodle.core.question.QuestionData" title="Link to this definition"></a></dt>
|
1242
1253
|
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code></p>
|
1254
|
+
<dl class="py property">
|
1255
|
+
<dt class="sig sig-object py" id="excel2moodle.core.question.QuestionData.categoryFallbacks">
|
1256
|
+
<em class="property"><span class="k"><span class="pre">property</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">categoryFallbacks</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">dict</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">float</span><span class="w"> </span><span class="p"><span class="pre">|</span></span><span class="w"> </span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></em><a class="headerlink" href="#excel2moodle.core.question.QuestionData.categoryFallbacks" title="Link to this definition"></a></dt>
|
1257
|
+
<dd></dd></dl>
|
1258
|
+
|
1243
1259
|
<dl class="py method">
|
1244
1260
|
<dt class="sig sig-object py" id="excel2moodle.core.question.QuestionData.get">
|
1245
1261
|
<span class="sig-name descname"><span class="pre">get</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">key</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">default</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/excel2moodle/core/question.html#QuestionData.get"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#excel2moodle.core.question.QuestionData.get" title="Link to this definition"></a></dt>
|
1246
|
-
<dd><p>
|
1262
|
+
<dd><p>Get the value for <cite>key</cite> with correct type.</p>
|
1263
|
+
<p>If <cite>key == Tags.TOLERANCE</cite> the tolerance is checked to be a perc. fraction</p>
|
1247
1264
|
<dl class="field-list simple">
|
1248
1265
|
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
|
1249
1266
|
<dd class="field-odd"><p><strong>key</strong> (<a class="reference internal" href="#excel2moodle.core.settings.Tags" title="excel2moodle.core.settings.Tags"><em>Tags</em></a>)</p>
|
@@ -1517,14 +1534,9 @@ Further, this Enum defines, which type a setting has to be.</p>
|
|
1517
1534
|
<span class="sig-name descname"><span class="pre">TYPE</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'type'</span></em><a class="headerlink" href="#excel2moodle.core.settings.Tags.TYPE" title="Link to this definition"></a></dt>
|
1518
1535
|
<dd></dd></dl>
|
1519
1536
|
|
1520
|
-
<dl class="py attribute">
|
1521
|
-
<dt class="sig sig-object py" id="excel2moodle.core.settings.Tags.VERSION">
|
1522
|
-
<span class="sig-name descname"><span class="pre">VERSION</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'version'</span></em><a class="headerlink" href="#excel2moodle.core.settings.Tags.VERSION" title="Link to this definition"></a></dt>
|
1523
|
-
<dd></dd></dl>
|
1524
|
-
|
1525
1537
|
<dl class="py attribute">
|
1526
1538
|
<dt class="sig sig-object py" id="excel2moodle.core.settings.Tags.WRONGSIGNPERCENT">
|
1527
|
-
<span class="sig-name descname"><span class="pre">WRONGSIGNPERCENT</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'
|
1539
|
+
<span class="sig-name descname"><span class="pre">WRONGSIGNPERCENT</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'wrongsignpercent'</span></em><a class="headerlink" href="#excel2moodle.core.settings.Tags.WRONGSIGNPERCENT" title="Link to this definition"></a></dt>
|
1528
1540
|
<dd></dd></dl>
|
1529
1541
|
|
1530
1542
|
<dl class="py property">
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
5
5
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7
|
-
<title>excel2moodle.extra package — excel2moodle 0.
|
7
|
+
<title>excel2moodle.extra package — excel2moodle 0.5.0 documentation</title>
|
8
8
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
|
9
9
|
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
|
10
10
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<script src="_static/jquery.js?v=5d32c60e"></script>
|
17
17
|
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
|
18
|
-
<script src="_static/documentation_options.js?v=
|
18
|
+
<script src="_static/documentation_options.js?v=1dd76d02"></script>
|
19
19
|
<script src="_static/doctools.js?v=9bcbadda"></script>
|
20
20
|
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
|
21
21
|
<script src="_static/js/theme.js"></script>
|
@@ -35,9 +35,10 @@
|
|
35
35
|
|
36
36
|
<a href="index.html" class="icon icon-home">
|
37
37
|
excel2moodle
|
38
|
+
<img src="_static/excel2moodleLogo.png" class="logo" alt="Logo"/>
|
38
39
|
</a>
|
39
40
|
<div class="version">
|
40
|
-
0.
|
41
|
+
0.5.0
|
41
42
|
</div>
|
42
43
|
<div role="search">
|
43
44
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
@@ -90,7 +91,7 @@
|
|
90
91
|
<li class="breadcrumb-item"><a href="excel2moodle.html">excel2moodle package</a></li>
|
91
92
|
<li class="breadcrumb-item active">excel2moodle.extra package</li>
|
92
93
|
<li class="wy-breadcrumbs-aside">
|
93
|
-
|
94
|
+
<a href="https://gitlab.com//jbosse3/excel2moodle/blob/master/docs/excel2moodle.extra.rst" class="fa fa-gitlab"> Edit on GitLab</a>
|
94
95
|
</li>
|
95
96
|
</ul>
|
96
97
|
<hr/>
|