StoryMaker-karjakak 1.0.7__py3-none-any.whl → 1.0.8__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.
- story_maker/blessing_pro.py +12 -10
- story_maker/main_frame.py +5 -11
- {storymaker_karjakak-1.0.7.dist-info → storymaker_karjakak-1.0.8.dist-info}/METADATA +8 -2
- storymaker_karjakak-1.0.8.dist-info/RECORD +24 -0
- {storymaker_karjakak-1.0.7.dist-info → storymaker_karjakak-1.0.8.dist-info}/licenses/LICENSE +1 -1
- storymaker_karjakak-1.0.8.dist-info/top_level.txt +1 -0
- pictures/devotion.png +0 -0
- pictures/devotion_complete.png +0 -0
- pictures/starter.png +0 -0
- pictures/story_maker.png +0 -0
- storymaker_karjakak-1.0.7.dist-info/RECORD +0 -28
- storymaker_karjakak-1.0.7.dist-info/top_level.txt +0 -3
- {stories → story_maker/stories}/BlessingPro/BlessingPro1.zip +0 -0
- {stories → story_maker/stories}/BlessingPro/BlessingPro2.zip +0 -0
- {stories → story_maker/stories}/BlessingPro/BlessingPro3.zip +0 -0
- {stories → story_maker/stories}/BlessingPro/BlessingPro4.zip +0 -0
- {storymaker_karjakak-1.0.7.dist-info → storymaker_karjakak-1.0.8.dist-info}/WHEEL +0 -0
- {storymaker_karjakak-1.0.7.dist-info → storymaker_karjakak-1.0.8.dist-info}/entry_points.txt +0 -0
story_maker/blessing_pro.py
CHANGED
@@ -13,6 +13,7 @@ from tkinter import (
|
|
13
13
|
messagebox as mes
|
14
14
|
)
|
15
15
|
import webbrowser
|
16
|
+
import shutil
|
16
17
|
from pathlib import Path
|
17
18
|
from contextlib import chdir
|
18
19
|
try:
|
@@ -200,7 +201,6 @@ class Bless:
|
|
200
201
|
|
201
202
|
# 3rd of a story
|
202
203
|
def s_story3(self):
|
203
|
-
|
204
204
|
stc = self.docr[2]["scriptures"].get(self.asw)
|
205
205
|
if stc:
|
206
206
|
self.stbox.insert(END, f"\n\n{stc.upper()}")
|
@@ -283,13 +283,15 @@ class Bless:
|
|
283
283
|
pass
|
284
284
|
|
285
285
|
|
286
|
-
def transfer_stories(path: Path):
|
287
|
-
stories_path = Path(__file__).parent.
|
288
|
-
if
|
289
|
-
path.
|
290
|
-
|
291
|
-
|
292
|
-
stories_path
|
286
|
+
def transfer_stories(path: Path, remove: bool = False):
|
287
|
+
stories_path = Path(__file__).parent.joinpath("stories")
|
288
|
+
if stories_path.exists():
|
289
|
+
if not path.exists():
|
290
|
+
path.mkdir()
|
291
|
+
if stories_path.joinpath("BlessingPro").exists() and not path.joinpath("BlessingPro").exists():
|
292
|
+
with chdir(stories_path):
|
293
|
+
shutil.copytree(stories_path.joinpath("BlessingPro"), path.joinpath("BlessingPro"))
|
294
|
+
|
293
295
|
|
294
296
|
def main():
|
295
297
|
pth = Path.home().joinpath("StoryMaker")
|
@@ -297,13 +299,13 @@ def main():
|
|
297
299
|
begin.withdraw()
|
298
300
|
try:
|
299
301
|
transfer_stories(pth)
|
300
|
-
except:
|
302
|
+
except Exception as e:
|
301
303
|
mes.showinfo(
|
302
304
|
"Stories",
|
303
305
|
(
|
304
306
|
f"Could not transfer folder of stories, please do it manually from {
|
305
307
|
Path(__file__).parent.parent.joinpath("stories")
|
306
|
-
} to {pth}!"
|
308
|
+
} to {pth}\n{e}!"
|
307
309
|
)
|
308
310
|
)
|
309
311
|
ans = mes.askyesnocancel("Blessing Project", "Load story or Create story? (yes to load)")
|
story_maker/main_frame.py
CHANGED
@@ -15,17 +15,16 @@ class MainFrame(Tk):
|
|
15
15
|
super().__init__()
|
16
16
|
self.stories = {"stories": {
|
17
17
|
"begin": None,
|
18
|
-
"first":
|
19
|
-
"second":
|
18
|
+
"first": None,
|
19
|
+
"second": None,
|
20
20
|
}}
|
21
21
|
self.choices = {"choices":{
|
22
|
-
"first":
|
23
|
-
"second":
|
22
|
+
"first": None,
|
23
|
+
"second": None,
|
24
24
|
}}
|
25
25
|
self.title("Story Maker")
|
26
|
-
self.scriptures = {"scriptures":
|
26
|
+
self.scriptures = {"scriptures": None}
|
27
27
|
self.path = Path("~").expanduser().joinpath("StoryMaker")
|
28
|
-
self.checking_dir()
|
29
28
|
self.combo_stories = StorySelection(self, self.path)
|
30
29
|
self.combo_stories.combo_stories.bind("<<ComboboxSelected>>", self.load_formats, add=True)
|
31
30
|
self.beginning = BeginningStory(self)
|
@@ -88,11 +87,6 @@ class MainFrame(Tk):
|
|
88
87
|
self._scriptures()
|
89
88
|
return isinstance(self.scriptures["scriptures"], dict)
|
90
89
|
|
91
|
-
def checking_dir(self):
|
92
|
-
if not self.path.exists():
|
93
|
-
with chdir(self.path.parent):
|
94
|
-
Path("StoryMaker").mkdir()
|
95
|
-
|
96
90
|
def _reload_combo(self, load: bool = True):
|
97
91
|
if load:
|
98
92
|
self.combo_stories.reload()
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: StoryMaker-karjakak
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.8
|
4
4
|
Summary: Story Maker for devotion and blessing for others.
|
5
5
|
Author: karjakak
|
6
6
|
Author-email: kakkarja.github@gmail.com
|
7
|
-
License: BSD 3-Clause License
|
7
|
+
License: # BSD 3-Clause License
|
8
8
|
|
9
9
|
Copyright (c) 2025, KarjaKAK
|
10
10
|
|
@@ -64,6 +64,12 @@ Dynamic: license-file
|
|
64
64
|
**NOTE:**
|
65
65
|
In the folders area, if press **save** button, will create another folder.
|
66
66
|
|
67
|
+
## Free Stories to start reading
|
68
|
+
|
69
|
+
* BlessingPro → 4 stories
|
70
|
+
* In version 1.0.8
|
71
|
+
* **WARNING:** In case of firewall, please move it manually 🙏
|
72
|
+
|
67
73
|
**To start Story Maker:**
|
68
74
|
|
69
75
|
```Terminal
|
@@ -0,0 +1,24 @@
|
|
1
|
+
story_maker/__init__.py,sha256=4avG-PmZlHHRmaGC9t24J6_168oxQV1OVUZ_brCwmJY,66
|
2
|
+
story_maker/blessing_pro.py,sha256=mXDPuRW8yMrG50mo7Pr3-whS5yATMbIoPeoriBbV5NA,12164
|
3
|
+
story_maker/main_frame.py,sha256=KHeRPp7HSX6MVjmhuKLVym1UzWBWhLESFaCCDhPs5sM,7504
|
4
|
+
story_maker/stories/BlessingPro/BlessingPro1.zip,sha256=FfL7SwdvBcjvfhgwIcke88pu9ZL4zXsFdcRQIUtuw-Y,5042
|
5
|
+
story_maker/stories/BlessingPro/BlessingPro2.zip,sha256=YyC6XvyjqWyBYiaq-uPrDPK5qKL5NmYlbDs_6AyM3IU,4262
|
6
|
+
story_maker/stories/BlessingPro/BlessingPro3.zip,sha256=tJh7XKeIDIURD5Oglp25G9Sfn6GVkokn2A33HWel6v8,4906
|
7
|
+
story_maker/stories/BlessingPro/BlessingPro4.zip,sha256=x6bu5wj9xazTp7yknagtmupvo63RHsX30LiWkw5czFQ,5325
|
8
|
+
story_maker/story_archive/__init__.py,sha256=0min7viIAejeqImuZkXoRnOiW_GyADI0eMD05wJAWe0,152
|
9
|
+
story_maker/story_archive/choices.py,sha256=Se0Na-atlLtM1Kdwp2AiraM0G4C32XzjbzM_G6NtQVc,210
|
10
|
+
story_maker/story_archive/story_archive.py,sha256=fEjRLPrQqgHtj-Hhi7vlAhkIYL_qHqOSABCj2FozGMw,3373
|
11
|
+
story_maker/story_archive/story_data.py,sha256=fqYAXyiKnTCDapXf4Sh9CJMmVfRPKJwDXwzbuXUOsP8,281
|
12
|
+
story_maker/story_archive/story_load.py,sha256=sWcntZnRlZTgap5idSNLZ-jtGIV-HFUnFqBLROULa9w,1768
|
13
|
+
story_maker/story_structure/__init__.py,sha256=LkRPVVzsMI3Mg20mpWlMMJFUbhvVKxbhHcWPDEeOxps,262
|
14
|
+
story_maker/story_structure/story_beginning.py,sha256=jnk2ATJcT6dFRAdnWGRwUyj7xLRYfg8C5OsFrhBGeqE,1137
|
15
|
+
story_maker/story_structure/story_multiple_choices.py,sha256=wl7Cs5UBZk3lQOc-wmOxOI_VdSQZK6tokr1SMAPpBi0,1972
|
16
|
+
story_maker/story_structure/story_multiple_stories.py,sha256=yI2uKeuHk-AiUq2yEqqVWHlMFAuOGvETX-_PA8H-eUY,2954
|
17
|
+
story_maker/story_structure/story_save_delete_button.py,sha256=3zicQ99sH9L1fV0yfqxaRj0lFuHwNf9uRmuZFGgttDQ,989
|
18
|
+
story_maker/story_structure/story_selection.py,sha256=0Dh8tG1ewIkMZqN_UDZ7NWfl9QLHMh9mc2cp4Xvv1e4,3482
|
19
|
+
storymaker_karjakak-1.0.8.dist-info/licenses/LICENSE,sha256=Tx_dY6THeMrxnJqlX_OBdQPuANSV2P8UPGilX69jj4w,1497
|
20
|
+
storymaker_karjakak-1.0.8.dist-info/METADATA,sha256=lg0Sz4X1ymY6MRh6nihmp1ny88JZf8VsP0PD8jzKDjs,3496
|
21
|
+
storymaker_karjakak-1.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
22
|
+
storymaker_karjakak-1.0.8.dist-info/entry_points.txt,sha256=6RyZj0Dzcj0c6n0suj0f4v6n60dnA05EliC0FboTNnM,37
|
23
|
+
storymaker_karjakak-1.0.8.dist-info/top_level.txt,sha256=IhfKMWKBfFdCPYLZSpNIYkbbOua0jHMZwxEZ96Y8ntI,12
|
24
|
+
storymaker_karjakak-1.0.8.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
story_maker
|
pictures/devotion.png
DELETED
Binary file
|
pictures/devotion_complete.png
DELETED
Binary file
|
pictures/starter.png
DELETED
Binary file
|
pictures/story_maker.png
DELETED
Binary file
|
@@ -1,28 +0,0 @@
|
|
1
|
-
pictures/devotion.png,sha256=vHSDJZzK12BCwqwqPNa2JBpzTMuAlgoWQaKFkDGayjU,576127
|
2
|
-
pictures/devotion_complete.png,sha256=QRHCuWSz78GepxZvaSQM0DM9ARPEL6u3s10dE000y6g,966535
|
3
|
-
pictures/starter.png,sha256=k-96TgwxJIucM4FArvmlMwLqgSMG-zmo6St0SGbirvc,40284
|
4
|
-
pictures/story_maker.png,sha256=SYPnPWvCMJAJMiSfs8j2unENMiA-7Rz_K5HeZ8GmYo8,1138180
|
5
|
-
stories/BlessingPro/BlessingPro1.zip,sha256=FfL7SwdvBcjvfhgwIcke88pu9ZL4zXsFdcRQIUtuw-Y,5042
|
6
|
-
stories/BlessingPro/BlessingPro2.zip,sha256=YyC6XvyjqWyBYiaq-uPrDPK5qKL5NmYlbDs_6AyM3IU,4262
|
7
|
-
stories/BlessingPro/BlessingPro3.zip,sha256=tJh7XKeIDIURD5Oglp25G9Sfn6GVkokn2A33HWel6v8,4906
|
8
|
-
stories/BlessingPro/BlessingPro4.zip,sha256=x6bu5wj9xazTp7yknagtmupvo63RHsX30LiWkw5czFQ,5325
|
9
|
-
story_maker/__init__.py,sha256=4avG-PmZlHHRmaGC9t24J6_168oxQV1OVUZ_brCwmJY,66
|
10
|
-
story_maker/blessing_pro.py,sha256=jRuATWezZIOfwAzs6sgW25MpUb3aMf-abs_hoHnxdX8,12009
|
11
|
-
story_maker/main_frame.py,sha256=crtQFQFYw1ZLmXms6yraw1tNtj6NRdnEcaTJPqa5ofc,7675
|
12
|
-
story_maker/story_archive/__init__.py,sha256=0min7viIAejeqImuZkXoRnOiW_GyADI0eMD05wJAWe0,152
|
13
|
-
story_maker/story_archive/choices.py,sha256=Se0Na-atlLtM1Kdwp2AiraM0G4C32XzjbzM_G6NtQVc,210
|
14
|
-
story_maker/story_archive/story_archive.py,sha256=fEjRLPrQqgHtj-Hhi7vlAhkIYL_qHqOSABCj2FozGMw,3373
|
15
|
-
story_maker/story_archive/story_data.py,sha256=fqYAXyiKnTCDapXf4Sh9CJMmVfRPKJwDXwzbuXUOsP8,281
|
16
|
-
story_maker/story_archive/story_load.py,sha256=sWcntZnRlZTgap5idSNLZ-jtGIV-HFUnFqBLROULa9w,1768
|
17
|
-
story_maker/story_structure/__init__.py,sha256=LkRPVVzsMI3Mg20mpWlMMJFUbhvVKxbhHcWPDEeOxps,262
|
18
|
-
story_maker/story_structure/story_beginning.py,sha256=jnk2ATJcT6dFRAdnWGRwUyj7xLRYfg8C5OsFrhBGeqE,1137
|
19
|
-
story_maker/story_structure/story_multiple_choices.py,sha256=wl7Cs5UBZk3lQOc-wmOxOI_VdSQZK6tokr1SMAPpBi0,1972
|
20
|
-
story_maker/story_structure/story_multiple_stories.py,sha256=yI2uKeuHk-AiUq2yEqqVWHlMFAuOGvETX-_PA8H-eUY,2954
|
21
|
-
story_maker/story_structure/story_save_delete_button.py,sha256=3zicQ99sH9L1fV0yfqxaRj0lFuHwNf9uRmuZFGgttDQ,989
|
22
|
-
story_maker/story_structure/story_selection.py,sha256=0Dh8tG1ewIkMZqN_UDZ7NWfl9QLHMh9mc2cp4Xvv1e4,3482
|
23
|
-
storymaker_karjakak-1.0.7.dist-info/licenses/LICENSE,sha256=gRQhGpfGCte8hnqWfQ9X2uX0eDN7vcJQGQTpcir1CDE,1495
|
24
|
-
storymaker_karjakak-1.0.7.dist-info/METADATA,sha256=-3_EnwkEhSZqnBsiQ5kYnRXyUsfBlfydB4vEyR07OM4,3343
|
25
|
-
storymaker_karjakak-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
26
|
-
storymaker_karjakak-1.0.7.dist-info/entry_points.txt,sha256=6RyZj0Dzcj0c6n0suj0f4v6n60dnA05EliC0FboTNnM,37
|
27
|
-
storymaker_karjakak-1.0.7.dist-info/top_level.txt,sha256=R7RenVFtPTvdogqSmuJ_JvU9Lpk5MpviwZ5LZY-C_sA,29
|
28
|
-
storymaker_karjakak-1.0.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{storymaker_karjakak-1.0.7.dist-info → storymaker_karjakak-1.0.8.dist-info}/entry_points.txt
RENAMED
File without changes
|