corelp 1.0.41__py3-none-any.whl → 1.0.43__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.
corelp/__init__.py CHANGED
@@ -26,6 +26,14 @@ sources = {
26
26
  }
27
27
 
28
28
 
29
+ from importlib import resources
30
+ from contextlib import contextmanager
31
+
32
+ @contextmanager
33
+ def resources_dir():
34
+ with resources.as_file(resources.files("corelp.resources")) as path:
35
+ yield path
36
+
29
37
 
30
38
  # %% Hidden imports
31
39
  if False :
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: corelp
3
- Version: 1.0.41
3
+ Version: 1.0.43
4
4
  Summary: A library that gathers core functions for python programming.
5
5
  Requires-Python: >=3.12
6
6
  Description-Content-Type: text/markdown
@@ -1,4 +1,4 @@
1
- corelp/__init__.py,sha256=B7uZnl6UmbC-OqLb_uPhxCoxGf8OTbIHkL8u78Mp57g,1438
1
+ corelp/__init__.py,sha256=p_B8oU5_EWEZNsmOklB18uP8_lTML8BQ2a31_R36QQg,1639
2
2
  corelp/modules/Path_LP/Path.py,sha256=wfvO1DuewIUSEA9_g66O5nCEp95Pr5XM-yxaOOEimTs,2418
3
3
  corelp/modules/Path_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  corelp/modules/Path_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -53,6 +53,6 @@ corelp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  corelp/ressources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  corelp/ressources/icon_pythonLP.png,sha256=pg386kYEKGspDDRbRF0alOmHXPEm0geMoYIPaxEfQ_o,3805
55
55
  corelp/routines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
- corelp-1.0.41.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
57
- corelp-1.0.41.dist-info/METADATA,sha256=zh90IkTl1ebKvd-4gewceUAC5YspLTSBEHGD2wf0-wk,1656
58
- corelp-1.0.41.dist-info/RECORD,,
56
+ corelp-1.0.43.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
57
+ corelp-1.0.43.dist-info/METADATA,sha256=by9ZeEhUkzfiHlI0F-XPR4k3YEKhYKKy-zofwHp2FJ4,1656
58
+ corelp-1.0.43.dist-info/RECORD,,