rgwfuncs 0.0.106__py3-none-any.whl → 0.0.108__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.
- rgwfuncs/str_lib.py +3 -3
- {rgwfuncs-0.0.106.dist-info → rgwfuncs-0.0.108.dist-info}/METADATA +1 -1
- rgwfuncs-0.0.108.dist-info/RECORD +11 -0
- rgwfuncs-0.0.106.dist-info/RECORD +0 -11
- {rgwfuncs-0.0.106.dist-info → rgwfuncs-0.0.108.dist-info}/WHEEL +0 -0
- {rgwfuncs-0.0.106.dist-info → rgwfuncs-0.0.108.dist-info}/entry_points.txt +0 -0
- {rgwfuncs-0.0.106.dist-info → rgwfuncs-0.0.108.dist-info}/licenses/LICENSE +0 -0
- {rgwfuncs-0.0.106.dist-info → rgwfuncs-0.0.108.dist-info}/top_level.txt +0 -0
rgwfuncs/str_lib.py
CHANGED
@@ -176,7 +176,7 @@ def title(text: str, font: str = "slant", typing_speed: float = 0.005) -> None:
|
|
176
176
|
time.sleep(typing_speed)
|
177
177
|
raise RuntimeError(error_msg)
|
178
178
|
|
179
|
-
def heading(text: str, typing_speed: float = 0.
|
179
|
+
def heading(text: str, typing_speed: float = 0.002) -> None:
|
180
180
|
"""
|
181
181
|
Print a heading with the specified text in uppercase,
|
182
182
|
formatted as '[current_call] TEXT' with a timestamp and typewriter effect.
|
@@ -223,7 +223,7 @@ def heading(text: str, typing_speed: float = 0.005) -> None:
|
|
223
223
|
print(reset_color, end='')
|
224
224
|
print() # Empty line after
|
225
225
|
|
226
|
-
def sub_heading(text: str, typing_speed: float = 0.
|
226
|
+
def sub_heading(text: str, typing_speed: float = 0.002) -> None:
|
227
227
|
"""
|
228
228
|
Print a sub-heading under the most recent heading, formatted as
|
229
229
|
'[heading_num.sub_heading_num] TEXT' with a timestamp and typewriter effect.
|
@@ -254,7 +254,7 @@ def sub_heading(text: str, typing_speed: float = 0.005) -> None:
|
|
254
254
|
# Format sub-heading
|
255
255
|
prefix = f"[{_CURRENT_HEADING_NUMBER}.{current_sub}] "
|
256
256
|
max_text_length = 50 - len(prefix)
|
257
|
-
formatted_text = text.lower()
|
257
|
+
formatted_text = text[:max_text_length] # Removed .lower()
|
258
258
|
sub_heading = f"{prefix}{formatted_text}"
|
259
259
|
|
260
260
|
# Get timestamp
|
@@ -0,0 +1,11 @@
|
|
1
|
+
rgwfuncs/__init__.py,sha256=XIbMHeEimBLNcX2PK7uQGquG-eAYXsetVEJrlBZIH5U,1295
|
2
|
+
rgwfuncs/df_lib.py,sha256=3foomRHlunCpf_accTcqfdgwDmSPIVkVCnlWJ4ag4XQ,76947
|
3
|
+
rgwfuncs/docs_lib.py,sha256=i63NzX-V8cGhikYdtkRGAEe2VcuwpXxDUyTRa9xI7l8,1972
|
4
|
+
rgwfuncs/interactive_shell_lib.py,sha256=YeJBW9YgH5Nv77ONdOyIKFgtf0ItXStdlKGN9GGf8bU,4228
|
5
|
+
rgwfuncs/str_lib.py,sha256=xhYCSxWGHyvfaxhBuKfEExvCAhoOpyw2GhnwFy2CEUI,11403
|
6
|
+
rgwfuncs-0.0.108.dist-info/licenses/LICENSE,sha256=jLvt20gcUZYB8UOvyBvyKQ1qhYYhD__qP7ZDx2lPFkU,1062
|
7
|
+
rgwfuncs-0.0.108.dist-info/METADATA,sha256=6p59qcnYK2oqE-czQyx7Rp2RAWxRcxHxr5o5hzArZ7I,42972
|
8
|
+
rgwfuncs-0.0.108.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
rgwfuncs-0.0.108.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
|
10
|
+
rgwfuncs-0.0.108.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
|
11
|
+
rgwfuncs-0.0.108.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
rgwfuncs/__init__.py,sha256=XIbMHeEimBLNcX2PK7uQGquG-eAYXsetVEJrlBZIH5U,1295
|
2
|
-
rgwfuncs/df_lib.py,sha256=3foomRHlunCpf_accTcqfdgwDmSPIVkVCnlWJ4ag4XQ,76947
|
3
|
-
rgwfuncs/docs_lib.py,sha256=i63NzX-V8cGhikYdtkRGAEe2VcuwpXxDUyTRa9xI7l8,1972
|
4
|
-
rgwfuncs/interactive_shell_lib.py,sha256=YeJBW9YgH5Nv77ONdOyIKFgtf0ItXStdlKGN9GGf8bU,4228
|
5
|
-
rgwfuncs/str_lib.py,sha256=ZI-SNVFy__theOl0HifLiRXtLQ3bJ8kfKzEiwiAEbOg,11391
|
6
|
-
rgwfuncs-0.0.106.dist-info/licenses/LICENSE,sha256=jLvt20gcUZYB8UOvyBvyKQ1qhYYhD__qP7ZDx2lPFkU,1062
|
7
|
-
rgwfuncs-0.0.106.dist-info/METADATA,sha256=hWc25xg1tl2OM7VcZa876gz37n9lV0XsyL1qkLGzVf0,42972
|
8
|
-
rgwfuncs-0.0.106.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
rgwfuncs-0.0.106.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
|
10
|
-
rgwfuncs-0.0.106.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
|
11
|
-
rgwfuncs-0.0.106.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|