excel2moodle 0.4.0__tar.gz → 0.4.2__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.
Files changed (59) hide show
  1. {excel2moodle-0.4.0/excel2moodle.egg-info → excel2moodle-0.4.2}/PKG-INFO +2 -3
  2. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/exampleQuestions.html +11 -6
  3. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/excel2moodle.core.html +284 -218
  4. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/excel2moodle.extra.html +3 -3
  5. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/excel2moodle.html +63 -74
  6. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/excel2moodle.ui.html +54 -132
  7. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/genindex.html +125 -137
  8. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/howto.html +3 -3
  9. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/index.html +5 -7
  10. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/py-modindex.html +4 -19
  11. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/search.html +3 -3
  12. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/docs/_build/html/userReference.html +26 -15
  13. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/__main__.py +8 -9
  14. excel2moodle-0.4.2/excel2moodle/core/__init__.py +1 -0
  15. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/category.py +4 -3
  16. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/dataStructure.py +85 -57
  17. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/etHelpers.py +2 -2
  18. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/exceptions.py +2 -2
  19. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/globals.py +10 -27
  20. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/parser.py +24 -30
  21. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/question.py +147 -63
  22. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/settings.py +73 -45
  23. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/validator.py +36 -55
  24. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/logger.py +3 -3
  25. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/question_types/__init__.py +2 -0
  26. excel2moodle-0.4.2/excel2moodle/question_types/cloze.py +207 -0
  27. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/question_types/mc.py +26 -16
  28. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/question_types/nf.py +17 -3
  29. excel2moodle-0.4.2/excel2moodle/question_types/nfm.py +134 -0
  30. excel2moodle-0.4.0/excel2moodle/ui/windowEquationChecker.py → excel2moodle-0.4.2/excel2moodle/ui/UI_equationChecker.py +98 -78
  31. excel2moodle-0.4.0/excel2moodle/ui/exportSettingsDialog.py → excel2moodle-0.4.2/excel2moodle/ui/UI_exportSettingsDialog.py +55 -4
  32. excel2moodle-0.4.0/excel2moodle/ui/windowMain.py → excel2moodle-0.4.2/excel2moodle/ui/UI_mainWindow.py +32 -39
  33. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/ui/appUi.py +35 -66
  34. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/ui/dialogs.py +40 -2
  35. excel2moodle-0.4.2/excel2moodle/ui/equationChecker.py +70 -0
  36. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/ui/treewidget.py +4 -4
  37. {excel2moodle-0.4.0 → excel2moodle-0.4.2/excel2moodle.egg-info}/PKG-INFO +2 -3
  38. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle.egg-info/SOURCES.txt +6 -5
  39. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle.egg-info/entry_points.txt +0 -3
  40. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle.egg-info/requires.txt +1 -2
  41. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/pyproject.toml +4 -5
  42. excel2moodle-0.4.0/excel2moodle/core/__init__.py +0 -11
  43. excel2moodle-0.4.0/excel2moodle/question_types/nfm.py +0 -91
  44. excel2moodle-0.4.0/excel2moodle/ui/questionPreviewDialog.py +0 -115
  45. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/LICENSE +0 -0
  46. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/MANIFEST.in +0 -0
  47. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/README.md +0 -0
  48. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/__init__.py +0 -0
  49. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/numericMultiQ.py +0 -0
  50. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/core/stringHelpers.py +0 -0
  51. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/extra/__init__.py +0 -0
  52. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/extra/equationVerification.py +0 -0
  53. /excel2moodle-0.4.0/excel2moodle/ui/variantDialog.py → /excel2moodle-0.4.2/excel2moodle/ui/UI_variantDialog.py +0 -0
  54. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/ui/__init__.py +0 -0
  55. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle/ui/windowDoc.py +0 -0
  56. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle.egg-info/dependency_links.txt +0 -0
  57. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/excel2moodle.egg-info/top_level.txt +0 -0
  58. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/setup.cfg +0 -0
  59. {excel2moodle-0.4.0 → excel2moodle-0.4.2}/test/test_picture.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: excel2moodle
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: A package for converting questions from a spreadsheet, to valid moodle-xml
5
5
  Author: Jakob Bosse
6
6
  License-Expression: GPL-3.0-or-later
@@ -14,10 +14,9 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: pyside6>=6.8.0
16
16
  Requires-Dist: pandas>=2.1.3
17
- Requires-Dist: openpyxl>=3.1.5
18
17
  Requires-Dist: lxml>=5.4.0
19
- Requires-Dist: odfpy>=1.4.1
20
18
  Requires-Dist: asteval>=1.0.6
19
+ Requires-Dist: python-calamine>=0.3.2
21
20
  Dynamic: license-file
22
21
 
23
22
  # excel 2 Moodle
@@ -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 &mdash; excel2moodle 0.4.0 documentation</title>
7
+ <title>Fragenbeispiele &mdash; excel2moodle 0.4.2 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=6c02275b"></script>
18
+ <script src="_static/documentation_options.js?v=ff822928"></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>
@@ -38,7 +38,7 @@
38
38
  excel2moodle
39
39
  </a>
40
40
  <div class="version">
41
- 0.4.0
41
+ 0.4.2
42
42
  </div>
43
43
  <div role="search">
44
44
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
@@ -55,6 +55,7 @@
55
55
  <li class="toctree-l2"><a class="reference internal" href="#vergleich-der-fragen-in-moodle-und-tabelle">Vergleich der Fragen in Moodle und Tabelle</a><ul>
56
56
  <li class="toctree-l3"><a class="reference internal" href="#multiple-choice-fragen">Multiple Choice Fragen</a></li>
57
57
  <li class="toctree-l3"><a class="reference internal" href="#numerische-fragen">Numerische Fragen</a></li>
58
+ <li class="toctree-l3"><a class="reference internal" href="#example-of-cloze-questions">Example of CLOZE questions</a></li>
58
59
  </ul>
59
60
  </li>
60
61
  <li class="toctree-l2"><a class="reference internal" href="#example-for-a-mc-question">Example for a <code class="docutils literal notranslate"><span class="pre">`MC`</span></code> Question</a></li>
@@ -101,7 +102,7 @@
101
102
  <p>Im Folgenden werden Die Fragen, wie sie in der Tabelle erstellt werden, mit dem Ergebnis in Moodle gegenüber gestellt.
102
103
  Dadurch erhält man einen guten Eindruck, wie die Fragen am Ende aussehen.</p>
103
104
  <section id="multiple-choice-fragen">
104
- <h3>Multiple Choice Fragen<a class="headerlink" href="#multiple-choice-fragen" title="Link to this heading"></a></h3>
105
+ <span id="examplemc"></span><h3>Multiple Choice Fragen<a class="headerlink" href="#multiple-choice-fragen" title="Link to this heading"></a></h3>
105
106
  <span id="tablekategorie2"></span><table class="docutils align-default" id="id1">
106
107
  <caption><span class="caption-text">Example Kategorie 01 Multiple Choice Fragen</span><a class="headerlink" href="#id1" title="Link to this table"></a></caption>
107
108
  <tbody>
@@ -205,7 +206,7 @@ Es ist zu erkennen, wie die Antworten texte mit LaTex formatiert werden.</p>
205
206
  </figure>
206
207
  </section>
207
208
  <section id="numerische-fragen">
208
- <span id="numericexample"></span><h3>Numerische Fragen<a class="headerlink" href="#numerische-fragen" title="Link to this heading"></a></h3>
209
+ <span id="examplenfm"></span><h3>Numerische Fragen<a class="headerlink" href="#numerische-fragen" title="Link to this heading"></a></h3>
209
210
  <div class="admonition note">
210
211
  <p class="admonition-title">Note</p>
211
212
  <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)
@@ -289,13 +290,17 @@ Die normalen Nutzer sehen nur die beiden blauen Bereiche, nicht den Namen der Fr
289
290
  </figure>
290
291
  <div class="admonition note">
291
292
  <p class="admonition-title">Note</p>
292
- <p>Werwendung von LaTe</p>
293
+ <p>Werwendung von LaTeX</p>
293
294
  <p>Die Vewendung von LaTex code ist durch die Syntax <code class="docutils literal notranslate"><span class="pre">\(</span> <span class="pre">a</span> <span class="pre">\cdot</span> <span class="pre">10^{-2}</span> <span class="pre">\)</span></code> gekennzeichnet. Dies sieht wie folgt aus <span class="math notranslate nohighlight">\(a \cdot 10^{-2}\)</span>.
294
295
  Hierbei wird alles innerhalb <code class="docutils literal notranslate"><span class="pre">\(</span></code> und <code class="docutils literal notranslate"><span class="pre">\)</span></code> als LaTex Formel dargestellt.
295
296
  Da Einheiten normalerweise <em>nicht kursiv</em> geschrieben werden, kann das LaTex Makro <code class="docutils literal notranslate"><span class="pre">\mathrm{</span> <span class="pre">}</span></code> verwendet werden.
296
297
  Beispiel: <code class="docutils literal notranslate"><span class="pre">\(</span> <span class="pre">\mathrm{</span> <span class="pre">[mm^2]</span> <span class="pre">}</span> <span class="pre">\)</span></code> wird zu: <span class="math notranslate nohighlight">\(\mathrm{[mm^2]}\)</span></p>
297
298
  </div>
298
299
  </section>
300
+ <section id="example-of-cloze-questions">
301
+ <span id="examplecloze"></span><h3>Example of CLOZE questions<a class="headerlink" href="#example-of-cloze-questions" title="Link to this heading"></a></h3>
302
+ <p>needs to be written…</p>
303
+ </section>
299
304
  </section>
300
305
  <section id="example-for-a-mc-question">
301
306
  <h2>Example for a <code class="docutils literal notranslate"><span class="pre">`MC`</span></code> Question<a class="headerlink" href="#example-for-a-mc-question" title="Link to this heading"></a></h2>