shellscripts 0.24.0__py3-none-any.whl → 0.24.1__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.
- shell_scripts/__init__.py +1 -1
- shell_scripts/version_check.py +6 -5
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/METADATA +2 -2
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/RECORD +8 -8
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/WHEEL +0 -0
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/entry_points.txt +0 -0
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/licenses/LICENSE +0 -0
- {shellscripts-0.24.0.dist-info → shellscripts-0.24.1.dist-info}/top_level.txt +0 -0
shell_scripts/__init__.py
CHANGED
shell_scripts/version_check.py
CHANGED
|
@@ -263,11 +263,12 @@ def print_remote_latest_versions(current_version: str) -> None:
|
|
|
263
263
|
|
|
264
264
|
@details Emits one `<source> latest: <version>` line per remote source in
|
|
265
265
|
fixed order (PyPI, GitHub). A failed source lookup prints one bright-red
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
`<source> latest: unknown (<reason>)` line where `<reason>` is the
|
|
267
|
+
`_format_request_error` descriptor of the actual failure, and the remaining
|
|
268
|
+
source is still processed. Complexity O(1) excluding network latency.
|
|
268
269
|
@param current_version {str} Installed package version used in User-Agent.
|
|
269
270
|
@return {None} Writes two report or error lines to stdout.
|
|
270
|
-
@satisfies REQ-003, REQ-075, DES-020
|
|
271
|
+
@satisfies REQ-003, REQ-075, REQ-084, DES-020
|
|
271
272
|
"""
|
|
272
273
|
|
|
273
274
|
for source_label, fetch_version in (
|
|
@@ -278,8 +279,8 @@ def print_remote_latest_versions(current_version: str) -> None:
|
|
|
278
279
|
latest_version = fetch_version(current_version).lstrip("v")
|
|
279
280
|
except Exception as error:
|
|
280
281
|
print(
|
|
281
|
-
f"{BRIGHT_RED}{source_label} latest
|
|
282
|
-
f"{_format_request_error(error)}
|
|
282
|
+
f"{BRIGHT_RED}{source_label} latest: unknown "
|
|
283
|
+
f"({_format_request_error(error)}){RESET}"
|
|
283
284
|
)
|
|
284
285
|
continue
|
|
285
286
|
print(f"{source_label} latest: {latest_version}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shellscripts
|
|
3
|
-
Version: 0.24.
|
|
3
|
+
Version: 0.24.1
|
|
4
4
|
Summary: Execute useful shell scripts via an uvx-compatible CLI interface.
|
|
5
5
|
Author: Francesco Rolando
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -31,7 +31,7 @@ Dynamic: license-file
|
|
|
31
31
|
> * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
|
|
32
32
|
> * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
|
|
33
33
|
|
|
34
|
-
# s/shellScripts (0.24.
|
|
34
|
+
# s/shellScripts (0.24.1)
|
|
35
35
|
|
|
36
36
|
<p align="center">
|
|
37
37
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
shell_scripts/__init__.py,sha256=
|
|
1
|
+
shell_scripts/__init__.py,sha256=eztzinf3bSWxDgnR_YbkXduzGa8TUukOkXil5zAWJkQ,96
|
|
2
2
|
shell_scripts/__main__.py,sha256=-wEmwKTfeY5TphAH82E38XRPoB4KT5QDLDgRZz84PTs,83
|
|
3
3
|
shell_scripts/config.py,sha256=YUs8QWsZ31lJPrMpFqvn7YLQdseQnlaiu7OXcXsKdEw,12640
|
|
4
4
|
shell_scripts/core.py,sha256=rhgy9xduzkujsjD4NRL2AYvtNI3yTVnPThzEAzyMWUM,11204
|
|
5
5
|
shell_scripts/utils.py,sha256=bXSFRszGmkSKkxOUYJwqqVldveI9rrizkEu-nzstoJs,14133
|
|
6
|
-
shell_scripts/version_check.py,sha256=
|
|
6
|
+
shell_scripts/version_check.py,sha256=KVXVksy-T5V6rAYAnWACzv5MHi2dnrsYiNYg_yW0Eks,13184
|
|
7
7
|
shell_scripts/commands/__init__.py,sha256=tFiG-epwWLjfwnZ3LEXXULNk8bEquE5_x9uK59uamQo,3696
|
|
8
8
|
shell_scripts/commands/_dc_common.py,sha256=kfUn92r6n8F1w27jy5QDJE_6Kvpvzhq6dUGNs0_GO0U,4695
|
|
9
9
|
shell_scripts/commands/ai_install.py,sha256=BH38g3OXWQ4F60-pzTbt-fY67eFmRSOEzryhpxVSgQw,17011
|
|
@@ -37,9 +37,9 @@ shell_scripts/commands/video2h265.py,sha256=Sr_UWGz_V77x4anmuy8kiWZv5I_AOFlV0WDn
|
|
|
37
37
|
shell_scripts/commands/view_cmd.py,sha256=qHEivQHZpZCTE3VSFP1ay2SuqgancQlEKxJcKtyeqNA,1827
|
|
38
38
|
shell_scripts/commands/vscode_cmd.py,sha256=Rkcjt5A1HMzqJoh2Yz9VRGoLP-L3qpRO5hkcSrzOmvA,1461
|
|
39
39
|
shell_scripts/commands/vsinsider_cmd.py,sha256=KTTv1cVpJO-u1ktxOE0W_o4AAmz20pAvkDtyhpU9XBg,1548
|
|
40
|
-
shellscripts-0.24.
|
|
41
|
-
shellscripts-0.24.
|
|
42
|
-
shellscripts-0.24.
|
|
43
|
-
shellscripts-0.24.
|
|
44
|
-
shellscripts-0.24.
|
|
45
|
-
shellscripts-0.24.
|
|
40
|
+
shellscripts-0.24.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
41
|
+
shellscripts-0.24.1.dist-info/METADATA,sha256=0Gmmevm5qSgPY2Orvc8HaertcapYRTuAaWENH2RLGx8,10985
|
|
42
|
+
shellscripts-0.24.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
43
|
+
shellscripts-0.24.1.dist-info/entry_points.txt,sha256=9ICAgH87fxHBzi3f6JXIVcsPWzAKsCh4_1xS8JThQ0M,85
|
|
44
|
+
shellscripts-0.24.1.dist-info/top_level.txt,sha256=7bDVqjcR5CfCCArCP4X4e9gYJ-ua8z-GfQeHbAo8rCY,14
|
|
45
|
+
shellscripts-0.24.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|