dmart 0.1.9__py3-none-any.whl → 0.1.10__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.
- {dmart-0.1.9.dist-info → dmart-0.1.10.dist-info}/METADATA +1 -1
- {dmart-0.1.9.dist-info → dmart-0.1.10.dist-info}/RECORD +7 -7
- run_notification_campaign.py +3 -16
- utils/plugin_manager.py +3 -16
- {dmart-0.1.9.dist-info → dmart-0.1.10.dist-info}/WHEEL +0 -0
- {dmart-0.1.9.dist-info → dmart-0.1.10.dist-info}/entry_points.txt +0 -0
- {dmart-0.1.9.dist-info → dmart-0.1.10.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ get_settings.py,sha256=Sbe2WCoiK398E7HY4SNLfDN_GmE8knR4M-YJWF31jcg,153
|
|
|
5
5
|
main.py,sha256=XqKHlgFy_S_EtvbGsSxiCMSApSU33BlTpv8T4UWX0yc,17351
|
|
6
6
|
migrate.py,sha256=hn1MZoVby_Jjqhc7y3CrLcGD619QmVZv3PONNvO7VKQ,665
|
|
7
7
|
password_gen.py,sha256=xjx8wi105ZYvhLBBQj7_rugACpxifGXHse6f7YlGXWQ,196
|
|
8
|
-
run_notification_campaign.py,sha256=
|
|
8
|
+
run_notification_campaign.py,sha256=ZCvHfaimK4W6q4XuHs2r6wavMGipYYw4aUkNlxmGUd8,2652
|
|
9
9
|
scheduled_notification_handler.py,sha256=m26TryqHuvXR5PUPvzY9nFnpJpfbsuRjc_Q6wHdxvE8,4643
|
|
10
10
|
schema_migration.py,sha256=a1w3c-fSm95MVWFzobgy0AxIbhbzMDSfD46easTmwKE,6132
|
|
11
11
|
schema_modulate.py,sha256=vB7NxvqghqNpFe__p0ll03WsvNftzxBbQ6UXB2UfxNU,6454
|
|
@@ -130,7 +130,7 @@ utils/logger.py,sha256=peejQnq9B0eaHwdLynBHT7FUCq7jCX_DhkX6BcxrLkA,5274
|
|
|
130
130
|
utils/middleware.py,sha256=PAVwnLzs0cyT_ZIgc1slqadEOJNCPliLhOTjaYx0Waw,3399
|
|
131
131
|
utils/notification.py,sha256=O9oOeU9cRm3e9UAc-VJONWx-TzqbCMddFNaTQilE6ks,2479
|
|
132
132
|
utils/password_hashing.py,sha256=NZZsmtPG9Vkocipk3DlDKKHKUdxRKA4yOhCurD8dUhg,356
|
|
133
|
-
utils/plugin_manager.py,sha256=
|
|
133
|
+
utils/plugin_manager.py,sha256=brQoE4u2WxH6EMvUOYQlnOnSUbKwha92-UfAgWUaHRU,7645
|
|
134
134
|
utils/query_policies_helper.py,sha256=jBcNI_15P6LqVeWz6w9UMreLuNIc50GxqAf17KzxE84,4392
|
|
135
135
|
utils/regex.py,sha256=cv9b_l_e8tz42mKckeeyDgypKqh2e71E28co2iuEVxA,2286
|
|
136
136
|
utils/repository.py,sha256=9L-IvQ0Js0SQ5OR-Rh0i2Wdu4H9H06r8eE84hfBIu7Q,18313
|
|
@@ -142,8 +142,8 @@ utils/ticket_sys_utils.py,sha256=9QAlW2iiy8KyxQRBDj_WmzS5kKb0aYJmGwd4qzmGVqo,700
|
|
|
142
142
|
utils/web_notifier.py,sha256=QM87VVid2grC5lK3NdS1yzz0z1wXljr4GChJOeK86W4,843
|
|
143
143
|
utils/templates/activation.html.j2,sha256=XAMKCdoqONoc4ZQucD0yV-Pg5DlHHASZrTVItNS-iBE,640
|
|
144
144
|
utils/templates/reminder.html.j2,sha256=aoS8bTs56q4hjAZKsb0jV9c-PIURBELuBOpT_qPZNVU,639
|
|
145
|
-
dmart-0.1.
|
|
146
|
-
dmart-0.1.
|
|
147
|
-
dmart-0.1.
|
|
148
|
-
dmart-0.1.
|
|
149
|
-
dmart-0.1.
|
|
145
|
+
dmart-0.1.10.dist-info/METADATA,sha256=RMl8zHzCOJJRamNEhE2DRvGLc7QhcplHF8iG9oMjGGo,2092
|
|
146
|
+
dmart-0.1.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
147
|
+
dmart-0.1.10.dist-info/entry_points.txt,sha256=GjfoGh1bpxuU9HHGJzbtCFPNptHv9TryxHMN3uBSKpg,37
|
|
148
|
+
dmart-0.1.10.dist-info/top_level.txt,sha256=JTypu1r5v9v7ru-60JSSbnSMEESHFRMacpcz-rPJx_U,262
|
|
149
|
+
dmart-0.1.10.dist-info/RECORD,,
|
run_notification_campaign.py
CHANGED
|
@@ -11,22 +11,9 @@ from utils.settings import settings
|
|
|
11
11
|
CUSTOM_PLUGINS_PATH = settings.spaces_folder / "custom_plugins"
|
|
12
12
|
|
|
13
13
|
# Allow python to search for modules inside the custom plugins
|
|
14
|
-
#
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
for part in CUSTOM_PLUGINS_PATH.parts:
|
|
19
|
-
if part == "..":
|
|
20
|
-
back_to_spaces += 1
|
|
21
|
-
|
|
22
|
-
if __file__.endswith(".pyc"):
|
|
23
|
-
back_out_of_project += 1
|
|
24
|
-
|
|
25
|
-
sys.path.append(
|
|
26
|
-
"/".join(__file__.split("/")[:-(back_out_of_project+back_to_spaces)]) +
|
|
27
|
-
"/" +
|
|
28
|
-
"/".join(CUSTOM_PLUGINS_PATH.parts[back_to_spaces:-1])
|
|
29
|
-
)
|
|
14
|
+
# by including the path to the parent folder of the custom plugins to sys.path
|
|
15
|
+
if CUSTOM_PLUGINS_PATH.parent.exists():
|
|
16
|
+
sys.path.append(str(CUSTOM_PLUGINS_PATH.parent.resolve()))
|
|
30
17
|
|
|
31
18
|
def load_notification_plugin():
|
|
32
19
|
# Load the plugin module
|
utils/plugin_manager.py
CHANGED
|
@@ -21,22 +21,9 @@ from utils.settings import settings
|
|
|
21
21
|
CUSTOM_PLUGINS_PATH = settings.spaces_folder / "custom_plugins"
|
|
22
22
|
|
|
23
23
|
# Allow python to search for modules inside the custom plugins
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
for part in CUSTOM_PLUGINS_PATH.parts:
|
|
29
|
-
if part == "..":
|
|
30
|
-
back_to_spaces += 1
|
|
31
|
-
|
|
32
|
-
if __file__.endswith(".pyc"):
|
|
33
|
-
back_out_of_project += 1
|
|
34
|
-
|
|
35
|
-
sys.path.append(
|
|
36
|
-
"/".join(__file__.split("/")[:-(back_out_of_project+back_to_spaces)]) +
|
|
37
|
-
"/" +
|
|
38
|
-
"/".join(CUSTOM_PLUGINS_PATH.parts[back_to_spaces:-1])
|
|
39
|
-
)
|
|
24
|
+
# by including the path to the parent folder of the custom plugins to sys.path
|
|
25
|
+
if CUSTOM_PLUGINS_PATH.parent.exists():
|
|
26
|
+
sys.path.append(str(CUSTOM_PLUGINS_PATH.parent.resolve()))
|
|
40
27
|
|
|
41
28
|
class PluginManager:
|
|
42
29
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|