excel2moodle 0.7.2__tar.gz → 0.7.3__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.7.2 → excel2moodle-0.7.3}/PKG-INFO +6 -1
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/README.md +5 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/bullets.py +4 -2
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/PKG-INFO +6 -1
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/pyproject.toml +1 -1
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_bullets.py +2 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/LICENSE +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/__init__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/__main__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/__init__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/category.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/dataStructure.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/etHelpers.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/exceptions.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/globals.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/parser.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/question.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/settings.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/stringHelpers.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/core/validator.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/extra/__init__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/extra/equationChecker.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/extra/scriptCaller.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/extra/updateQuery.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/extra/variableGenerator.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/logger.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/question_types/__init__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/question_types/cloze.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/question_types/mc.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/question_types/nf.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/question_types/nfm.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_equationChecker.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_exportSettingsDialog.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_mainWindow.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_updateDlg.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_variableGenerator.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/UI_variantDialog.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/__init__.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/appUi.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/dialogs.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle/ui/treewidget.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/SOURCES.txt +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/dependency_links.txt +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/entry_points.txt +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/requires.txt +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/excel2moodle.egg-info/top_level.txt +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/setup.cfg +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_feedbacking.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_nfmParsing.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_parseQuestion.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_picture.py +0 -0
- {excel2moodle-0.7.2 → excel2moodle-0.7.3}/test/test_questionDataGet.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: excel2moodle
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
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
|
@@ -90,6 +90,11 @@ If You want to support my work as well, you can by me a [coffee](https://ko-fi.c
|
|
90
90
|
|
91
91
|
# Changelogs
|
92
92
|
|
93
|
+
## 0.7.3 (2025-10-12)
|
94
|
+
further bulletPoint improvements
|
95
|
+
|
96
|
+
No changes.
|
97
|
+
|
93
98
|
## 0.7.2 (2025-10-11)
|
94
99
|
small important bugfixes
|
95
100
|
|
@@ -62,7 +62,7 @@ class BulletList:
|
|
62
62
|
r"^\s?(?P<desc>.*?)"
|
63
63
|
r"(?:\s+(?P<var>[\w+\{\\/\}^_-]+)\s*=\s*)"
|
64
64
|
r"(?P<val>[.,\{\w+\}]+)"
|
65
|
-
r"(?:\s+(?P<unit>[\w
|
65
|
+
r"(?:\s+(?P<unit>[\w/\\^²³⁴⁵⁶%]+)\s*$)"
|
66
66
|
)
|
67
67
|
for i, item in enumerate(bps):
|
68
68
|
match = re.search(bulletFinder, item)
|
@@ -89,7 +89,9 @@ class BulletList:
|
|
89
89
|
bulletName = match.group(1)
|
90
90
|
num: float = 0.0
|
91
91
|
self.logger.debug("Got an variable bulletItem, match: %s", match)
|
92
|
-
|
92
|
+
# for userfriendliness because % would be the comment in latex
|
93
|
+
if unit == "%":
|
94
|
+
unit = r"\%"
|
93
95
|
self.bullets[bulletName] = BulletP(name=name, var=var, unit=unit, value=num)
|
94
96
|
self.element.append(self.bullets[bulletName].element)
|
95
97
|
return self.element
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: excel2moodle
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.3
|
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
|
@@ -90,6 +90,11 @@ If You want to support my work as well, you can by me a [coffee](https://ko-fi.c
|
|
90
90
|
|
91
91
|
# Changelogs
|
92
92
|
|
93
|
+
## 0.7.3 (2025-10-12)
|
94
|
+
further bulletPoint improvements
|
95
|
+
|
96
|
+
No changes.
|
97
|
+
|
93
98
|
## 0.7.2 (2025-10-11)
|
94
99
|
small important bugfixes
|
95
100
|
|
@@ -55,6 +55,8 @@ def test_bulletVariants(variant, bulletName, bulletStr) -> None:
|
|
55
55
|
(r"Längste Strecke l_{max} = 15.0 km", "Längste Strecke", "l_{max}", 15, "km"),
|
56
56
|
(r"Strng Var q_{st} = 33,339 kN/m²", "Strng Var", "q_{st}", 33.339, "kN/m²"),
|
57
57
|
(r"Max Sp \sigma_{max} = 33 kN/m^2", "Max Sp", r"\sigma_{max}", 33, "kN/m^2"),
|
58
|
+
(r"Nutzungsgrad \eta = 33 \%", "Nutzungsgrad", r"\eta", 33, r"\%"),
|
59
|
+
(r"Nutzungsgrad \eta = 33 %", "Nutzungsgrad", r"\eta", 33, r"\%"),
|
58
60
|
],
|
59
61
|
)
|
60
62
|
def test_paresBPointNames(bulletString, name, var, value, unit) -> None:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|