excel2moodle 0.7.2__py3-none-any.whl → 0.7.3__py3-none-any.whl

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.
@@ -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/\\^²³⁴⁵⁶]+)\s*$)"
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.2
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
 
@@ -2,7 +2,7 @@ excel2moodle/__init__.py,sha256=W05Gsm3IOcxJnp4C-TPvxRiO3NR2L9g8PSIHDoRJua0,1893
2
2
  excel2moodle/__main__.py,sha256=B55ZK25z-HzIIox2xLYkJXMUwYzITPKGCi9fELMFGaM,1877
3
3
  excel2moodle/logger.py,sha256=fq8ZOkCI1wj38v8IyrZsUlpt16onlSH_phqbVvYUwBQ,3725
4
4
  excel2moodle/core/__init__.py,sha256=87BwhtZse72Tk17Ib-V9X2k9wkhmtVnEj2ZmJ9JBAnI,63
5
- excel2moodle/core/bullets.py,sha256=Gpe6vO-XZqqW_vknlvinbbrL_YtsB4ZoYVtfBv98564,4251
5
+ excel2moodle/core/bullets.py,sha256=Z78EUmQJeclmg7ald0j0s8WXRzNEQRLyGqrVLREqXhg,4383
6
6
  excel2moodle/core/category.py,sha256=fOMj2ynoAy6tXwmFhJ9uST9BQHiRJeU2BrkK1r57ek4,2897
7
7
  excel2moodle/core/dataStructure.py,sha256=f3aqSPSIQxspYf1FmhFnlr4H1tc1gpVG_DQBdD0bZQk,19858
8
8
  excel2moodle/core/etHelpers.py,sha256=LzimWGuX6RH2TbfEnWUoAXT2Tr0z6P7bCANjxuANSX0,1667
@@ -33,9 +33,9 @@ excel2moodle/ui/__init__.py,sha256=4EdGtpzwH3rgw4xW9E5x9kdPQYwKbo9rehHRZTNxCrQ,4
33
33
  excel2moodle/ui/appUi.py,sha256=jlurK6sb_CVEV1vNAC_mL8lmX9H9Ex-QZ3BQXgAisJM,14887
34
34
  excel2moodle/ui/dialogs.py,sha256=du6v17lh6LhgDDK0QltPzD-z8wUn3aD4QzaAQBmiTBQ,7314
35
35
  excel2moodle/ui/treewidget.py,sha256=3hZRLlrhp4FMXFyNY0LGDy7k1RSuKH87QyqB1N4qOqg,2335
36
- excel2moodle-0.7.2.dist-info/licenses/LICENSE,sha256=ywQqe6Sitymkf2lV2NRcx_aGsaC-KbSl_EfEsRXmNRw,35135
37
- excel2moodle-0.7.2.dist-info/METADATA,sha256=wTdBTBoHroAy5ARxV1Uh3FspriO2TE_A_UzmtXmpuJY,13761
38
- excel2moodle-0.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
- excel2moodle-0.7.2.dist-info/entry_points.txt,sha256=myfMLDThuGgWHMJDPPfILiZqo_7D3fhmDdJGqWOAjPw,60
40
- excel2moodle-0.7.2.dist-info/top_level.txt,sha256=5V1xRUQ9o7UmOCmNoWCZPAuy5nXp3Qbzyqch8fUGT_c,13
41
- excel2moodle-0.7.2.dist-info/RECORD,,
36
+ excel2moodle-0.7.3.dist-info/licenses/LICENSE,sha256=ywQqe6Sitymkf2lV2NRcx_aGsaC-KbSl_EfEsRXmNRw,35135
37
+ excel2moodle-0.7.3.dist-info/METADATA,sha256=HDKEx2HpNLGdtmQpWzuKTI5r6Coc6712x5dms6sngFA,13830
38
+ excel2moodle-0.7.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
+ excel2moodle-0.7.3.dist-info/entry_points.txt,sha256=myfMLDThuGgWHMJDPPfILiZqo_7D3fhmDdJGqWOAjPw,60
40
+ excel2moodle-0.7.3.dist-info/top_level.txt,sha256=5V1xRUQ9o7UmOCmNoWCZPAuy5nXp3Qbzyqch8fUGT_c,13
41
+ excel2moodle-0.7.3.dist-info/RECORD,,