stouputils 1.13.0__py3-none-any.whl → 1.13.2__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.
- stouputils/continuous_delivery/pypi.py +5 -4
- stouputils/print.py +4 -2
- {stouputils-1.13.0.dist-info → stouputils-1.13.2.dist-info}/METADATA +2 -2
- {stouputils-1.13.0.dist-info → stouputils-1.13.2.dist-info}/RECORD +6 -6
- {stouputils-1.13.0.dist-info → stouputils-1.13.2.dist-info}/WHEEL +1 -1
- {stouputils-1.13.0.dist-info → stouputils-1.13.2.dist-info}/entry_points.txt +0 -0
|
@@ -108,14 +108,15 @@ def pypi_full_routine_using_uv() -> None:
|
|
|
108
108
|
package_dir = "src/" + package_name
|
|
109
109
|
|
|
110
110
|
# Generate stubs unless '--no-stubs' is passed
|
|
111
|
-
if "--no-stubs" not in sys.argv:
|
|
111
|
+
if "--no-stubs" not in sys.argv and "--no_stubs" not in sys.argv:
|
|
112
112
|
from .stubs import stubs_full_routine
|
|
113
113
|
stubs_full_routine(package_name, output_directory=package_dir, clean_before=True)
|
|
114
114
|
|
|
115
115
|
# Increment version in pyproject.toml
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
if "--no-bump" not in sys.argv and "--no_bump" not in sys.argv:
|
|
117
|
+
increment: str = "patch" if sys.argv[-1] not in ("minor", "major") else sys.argv[-1]
|
|
118
|
+
if os.system(f"uv version --bump {increment} --frozen") != 0:
|
|
119
|
+
raise Exception("Error while incrementing version using 'uv version'")
|
|
119
120
|
|
|
120
121
|
# Build the package using 'uv build'
|
|
121
122
|
import shutil
|
stouputils/print.py
CHANGED
|
@@ -224,8 +224,10 @@ def whatisit(
|
|
|
224
224
|
try:
|
|
225
225
|
if not isinstance(value, str | bytes | bytearray | dict | int | float):
|
|
226
226
|
import numpy as np
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
mini, maxi = np.min(value), np.max(value)
|
|
228
|
+
if mini != maxi:
|
|
229
|
+
metadata_parts.append(f"min: {mini}")
|
|
230
|
+
metadata_parts.append(f"max: {maxi}")
|
|
229
231
|
except (Exception):
|
|
230
232
|
pass
|
|
231
233
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: stouputils
|
|
3
|
-
Version: 1.13.
|
|
3
|
+
Version: 1.13.2
|
|
4
4
|
Summary: Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more.
|
|
5
5
|
Keywords: utilities,tools,helpers,development,python
|
|
6
6
|
Author: Stoupy51
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Dist: tqdm>=4.0.0
|
|
15
15
|
Requires-Dist: requests>=2.20.0
|
|
16
16
|
Requires-Dist: msgspec[toml,yaml]>=0.20.0
|
|
17
|
-
Requires-Dist: pillow>=
|
|
17
|
+
Requires-Dist: pillow>=12.0.0
|
|
18
18
|
Requires-Dist: python-box>=7.0.0
|
|
19
19
|
Requires-Dist: argcomplete>=3.0.0
|
|
20
20
|
Requires-Dist: numpy
|
|
@@ -29,7 +29,7 @@ stouputils/continuous_delivery/cd_utils.py,sha256=fkaHk2V3j66uFAUsM2c_UddNhXW2KA
|
|
|
29
29
|
stouputils/continuous_delivery/cd_utils.pyi,sha256=nxTLQydVOSVIix88dRtBXjMrUPpI5ftiQYbLI_nMByQ,4848
|
|
30
30
|
stouputils/continuous_delivery/github.py,sha256=Iva2XNm60Th78P_evnhCJHn0Q9-06udPlOZAxtZB5vw,19464
|
|
31
31
|
stouputils/continuous_delivery/github.pyi,sha256=RHRsSroEsT0I1qeuq-Wg0JLdEEDttLrzgHZPVRtLZ0Q,6641
|
|
32
|
-
stouputils/continuous_delivery/pypi.py,sha256=
|
|
32
|
+
stouputils/continuous_delivery/pypi.py,sha256=H62NlWKG_9OQcNpisEJ3DqtNnneVmcnVnv3NItdNvv0,5298
|
|
33
33
|
stouputils/continuous_delivery/pypi.pyi,sha256=qmMeHDzezN_ZW-_jGRFbaccG_rkfELbmW9hUPU6vptY,2325
|
|
34
34
|
stouputils/continuous_delivery/pyproject.py,sha256=olD3QqzLfCLnTBw8IkSKSLBPWyeMv6uS7A0yGdFuIvQ,4802
|
|
35
35
|
stouputils/continuous_delivery/pyproject.pyi,sha256=bMWwqyG0Auo46dt-dWGePQ9yJ8rSrgb7mnJTfbiS3TQ,2053
|
|
@@ -129,7 +129,7 @@ stouputils/io.py,sha256=yQ4jGWoI81cP-ZWxgYwqXmuD6s_IbpkKkZf5jjqqIAE,16841
|
|
|
129
129
|
stouputils/io.pyi,sha256=TCBTVEWUkI3dO_jWI9oPMF9SbnT1yLzFChE551JPbSY,9076
|
|
130
130
|
stouputils/parallel.py,sha256=I8STOb-VV9VlSeTm_8ZKCJLdL_ahGL61iFSCptDwHhQ,17512
|
|
131
131
|
stouputils/parallel.pyi,sha256=cvNMT0FyjOmehaVghurwVKABqvTO3BUbPF8f8ISp8Bw,10855
|
|
132
|
-
stouputils/print.py,sha256=
|
|
132
|
+
stouputils/print.py,sha256=fiFWmISElrf8FiK_KILL7iST62EDKMVYVIEIci8uduE,16251
|
|
133
133
|
stouputils/print.pyi,sha256=-uYWZ-hlPhkeu8E0gSoQqY0u-4UhkJAtPUioQb3Xujo,6674
|
|
134
134
|
stouputils/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
135
135
|
stouputils/stouputils/__init__.pyi,sha256=J8LeijIkWrTdGlevNR8dlGlgYg-Dh_MvGjp2EsPZ8UM,351
|
|
@@ -165,7 +165,7 @@ stouputils/stouputils/print.pyi,sha256=-uYWZ-hlPhkeu8E0gSoQqY0u-4UhkJAtPUioQb3Xu
|
|
|
165
165
|
stouputils/stouputils/version_pkg.pyi,sha256=QPvqp1U3QA-9C_CC1dT9Vahv1hXEhstbM7x5uzMZSsQ,755
|
|
166
166
|
stouputils/version_pkg.py,sha256=Jsp-s03L14DkiZ94vQgrlQmaxApfn9DC8M_nzT1SJLk,7014
|
|
167
167
|
stouputils/version_pkg.pyi,sha256=QPvqp1U3QA-9C_CC1dT9Vahv1hXEhstbM7x5uzMZSsQ,755
|
|
168
|
-
stouputils-1.13.
|
|
169
|
-
stouputils-1.13.
|
|
170
|
-
stouputils-1.13.
|
|
171
|
-
stouputils-1.13.
|
|
168
|
+
stouputils-1.13.2.dist-info/WHEEL,sha256=RRVLqVugUmFOqBedBFAmA4bsgFcROUBiSUKlERi0Hcg,79
|
|
169
|
+
stouputils-1.13.2.dist-info/entry_points.txt,sha256=tx0z9VOnE-sfkmbFbA93zaBMzV3XSsKEJa_BWIqUzxw,57
|
|
170
|
+
stouputils-1.13.2.dist-info/METADATA,sha256=syBuXQgqNVBD-QVC3P2OEgXnx0NCT6xYB5uyIPIK88U,13615
|
|
171
|
+
stouputils-1.13.2.dist-info/RECORD,,
|
|
File without changes
|