xulbux 1.5.9__py3-none-any.whl → 1.6.0__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.
Potentially problematic release.
This version of xulbux might be problematic. Click here for more details.
- xulbux/__init__.py +1 -1
- xulbux/xx_string.py +2 -5
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/METADATA +1 -1
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/RECORD +8 -8
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/WHEEL +1 -1
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/LICENSE +0 -0
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/entry_points.txt +0 -0
- {xulbux-1.5.9.dist-info → xulbux-1.6.0.dist-info}/top_level.txt +0 -0
xulbux/__init__.py
CHANGED
xulbux/xx_string.py
CHANGED
|
@@ -122,11 +122,8 @@ class String:
|
|
|
122
122
|
@staticmethod
|
|
123
123
|
def to_camel_case(string: str, upper: bool = True) -> str:
|
|
124
124
|
"""Will convert the string of any type of casing to UpperCamelCase or lowerCamelCase if `upper` is false."""
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if upper
|
|
128
|
-
else "" + "".join(part.capitalize() for part in (parts[1:] if upper else parts))
|
|
129
|
-
)
|
|
125
|
+
parts = String.decompose(string)
|
|
126
|
+
return ("" if upper else parts[0].lower()) + "".join(part.capitalize() for part in (parts if upper else parts[1:]))
|
|
130
127
|
|
|
131
128
|
@staticmethod
|
|
132
129
|
def to_delimited_case(string: str, delimiter: str = "_", screaming: bool = False) -> str:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
xulbux/__init__.py,sha256=
|
|
1
|
+
xulbux/__init__.py,sha256=atWR3hKxFB9Jq182TOrwhLHIEaYW5go9F6xosD76dog,1658
|
|
2
2
|
xulbux/_cli_.py,sha256=U25ZrtpQgpKXtvOSTBBbh7-AJ_WTeZ95A66DQARAqzo,3558
|
|
3
3
|
xulbux/_consts_.py,sha256=2-swueg8B5retfsAQqmR8nFNc06tqAwpL__TOv3V4kw,4882
|
|
4
4
|
xulbux/xx_code.py,sha256=dAksTh2Fw6-XTIGn8eEJVUlvJOsrWbctDZJDk4cs8FQ,5137
|
|
@@ -11,11 +11,11 @@ xulbux/xx_format_codes.py,sha256=NIleZ9TrXdF0i9UMCZP7ZI_k1ChJjYlHCFAcHZHHq2c,148
|
|
|
11
11
|
xulbux/xx_json.py,sha256=1xAYBmpb4o8hOS_TaMQW2E5pZdE1YqbUdSJm-53wm-s,5054
|
|
12
12
|
xulbux/xx_path.py,sha256=KB1HGYCxFB3_T97RVACajy3-QiksbviZVIW9-iQcr4s,4558
|
|
13
13
|
xulbux/xx_regex.py,sha256=-dU1x4GDhFKEg0uQPT6uw9Yyo0vo7f98TtlicG9uBJo,7872
|
|
14
|
-
xulbux/xx_string.py,sha256=
|
|
14
|
+
xulbux/xx_string.py,sha256=21gV3ozegkimLbCk4PMDD_ObxYElREABxuZ0p1Ga2HY,7090
|
|
15
15
|
xulbux/xx_system.py,sha256=yehO57ggWDRJbeFoTE1VisW4QrbkqZzAyjKoL3xHx9k,3935
|
|
16
|
-
xulbux-1.
|
|
17
|
-
xulbux-1.
|
|
18
|
-
xulbux-1.
|
|
19
|
-
xulbux-1.
|
|
20
|
-
xulbux-1.
|
|
21
|
-
xulbux-1.
|
|
16
|
+
xulbux-1.6.0.dist-info/LICENSE,sha256=6NflEcvzFEe8_JFVNCPVwZBwBhlLLd4vqQi8WiX_Xk4,1084
|
|
17
|
+
xulbux-1.6.0.dist-info/METADATA,sha256=ZGzDhbqYvTl-dg68I0WFesKfkvlG_Vm-2iJL8-DVRyg,6836
|
|
18
|
+
xulbux-1.6.0.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
19
|
+
xulbux-1.6.0.dist-info/entry_points.txt,sha256=a3womfLIMZKnOFiyy-xnVb4g2qkZsHR5FbKKkljcGns,94
|
|
20
|
+
xulbux-1.6.0.dist-info/top_level.txt,sha256=FkK4EZajwfP36fnlrPaR98OrEvZpvdEOdW1T5zTj6og,7
|
|
21
|
+
xulbux-1.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|