kkpyutil 1.33.4__py3-none-any.whl → 1.33.6__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.
- {kkpyutil-1.33.4.dist-info → kkpyutil-1.33.6.dist-info}/METADATA +1 -1
- kkpyutil-1.33.6.dist-info/RECORD +7 -0
- kkpyutil.py +4 -4
- kkpyutil-1.33.4.dist-info/RECORD +0 -7
- {kkpyutil-1.33.4.dist-info → kkpyutil-1.33.6.dist-info}/LICENSE +0 -0
- {kkpyutil-1.33.4.dist-info → kkpyutil-1.33.6.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
kkpyutil.py,sha256=WnFRJdFRB_XBJ_hDCgcxixe0-Kx6XBaw0ZQyMrXXIGU,107124
|
|
2
|
+
kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
|
|
3
|
+
kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
|
|
4
|
+
kkpyutil-1.33.6.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
|
|
5
|
+
kkpyutil-1.33.6.dist-info/METADATA,sha256=-xrkjFabHGbOOMdkBvcWNNJFaIQ-OAdJ9CVJwUeJh2E,1136
|
|
6
|
+
kkpyutil-1.33.6.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
7
|
+
kkpyutil-1.33.6.dist-info/RECORD,,
|
kkpyutil.py
CHANGED
|
@@ -1514,7 +1514,7 @@ def convert_compound_cases(text, style='pascal', instyle='auto'):
|
|
|
1514
1514
|
|
|
1515
1515
|
def _detect_casing(txt):
|
|
1516
1516
|
case_patterns = {
|
|
1517
|
-
'snake': r'^[a-z]
|
|
1517
|
+
'snake': r'^[a-z][a-z0-9]*(_[a-zA_Z0-9]+)*$',
|
|
1518
1518
|
'SNAKE': r'^[A-Z]+(_[A-Z0-9]+)*$',
|
|
1519
1519
|
'camel': r'^[a-z]+([A-Z][a-z0-9]*)*$',
|
|
1520
1520
|
'kebab': r'^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+$',
|
|
@@ -1671,7 +1671,8 @@ def is_number_text(text):
|
|
|
1671
1671
|
"""
|
|
1672
1672
|
# Remove leading/trailing whitespace
|
|
1673
1673
|
text = text.strip()
|
|
1674
|
-
|
|
1674
|
+
if not text:
|
|
1675
|
+
return False
|
|
1675
1676
|
# Check for negative numbers
|
|
1676
1677
|
if text.startswith('-'):
|
|
1677
1678
|
text = text[1:]
|
|
@@ -2864,8 +2865,7 @@ def remove_unsupported_dict_keys(mydict: dict, supported_keys: set):
|
|
|
2864
2865
|
|
|
2865
2866
|
|
|
2866
2867
|
def _test():
|
|
2867
|
-
|
|
2868
|
-
alert('line1\nline2')
|
|
2868
|
+
print(say('hello'))
|
|
2869
2869
|
|
|
2870
2870
|
|
|
2871
2871
|
if __name__ == '__main__':
|
kkpyutil-1.33.4.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
kkpyutil.py,sha256=QF_7RRU3tCnfto9qi5CjraD9ENisevHdGy97PVaxdEI,107107
|
|
2
|
-
kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
|
|
3
|
-
kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
|
|
4
|
-
kkpyutil-1.33.4.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
|
|
5
|
-
kkpyutil-1.33.4.dist-info/METADATA,sha256=VyatEaZtSx9WS7Uk0FoTGSMXZx-TJnhwq9APjH4X86E,1136
|
|
6
|
-
kkpyutil-1.33.4.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
7
|
-
kkpyutil-1.33.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|