dev-shell 0.10.0__tar.gz → 0.10.1__tar.gz
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.
- {dev_shell-0.10.0 → dev_shell-0.10.1}/PKG-INFO +4 -2
- {dev_shell-0.10.0 → dev_shell-0.10.1}/README.md +3 -1
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/__init__.py +1 -1
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/dev_shell_app.py +9 -1
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/utils/colorful.py +16 -15
- {dev_shell-0.10.0 → dev_shell-0.10.1}/uv.lock +21 -21
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.editorconfig +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.github/workflows/tests.yml +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.gitignore +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.idea/.gitignore +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.run/Template Python tests.run.xml +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/.run/Unittests __all__.run.xml +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/LICENSE +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/__main__.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/base_cmd2_app.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/bootstrap-source.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/command_sets/__init__.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/command_sets/dev_shell_commands.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/config.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/constants.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/__init__.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/constants.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/fixtures.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/test_bootstrap.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/test_dev_shell_app.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/test_doctests.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/test_project_setup.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/tests/test_source_file.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/utils/__init__.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dev_shell/utils/subprocess_utils.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/devshell.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/dist/.gitignore +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/noxfile.py +0 -0
- {dev_shell-0.10.0 → dev_shell-0.10.1}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dev-shell
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.1
|
|
4
4
|
Summary: Developer shell for easy startup...
|
|
5
5
|
Project-URL: Documentation, https://github.com/jedie/dev-shell
|
|
6
6
|
Project-URL: Source, https://github.com/jedie/dev-shell
|
|
@@ -91,8 +91,10 @@ See also:
|
|
|
91
91
|
|
|
92
92
|
## History
|
|
93
93
|
|
|
94
|
-
* [*dev*](https://github.com/jedie/dev-shell/compare/v0.
|
|
94
|
+
* [*dev*](https://github.com/jedie/dev-shell/compare/v0.10.1...main)
|
|
95
95
|
* TBC
|
|
96
|
+
* [0.10.1 - 2026-02-10](https://github.com/jedie/dev-shell/compare/v0.10.0...v0.10.1)
|
|
97
|
+
* Bugfix colorful shortcuts
|
|
96
98
|
* [0.10.0 - 2026-02-10](https://github.com/jedie/dev-shell/compare/v0.9.1...v0.10.0)
|
|
97
99
|
* Modernize codebase
|
|
98
100
|
* [0.9.1 - 2025-03-11](https://github.com/jedie/dev-shell/compare/v0.9.0...v0.9.1)
|
|
@@ -74,8 +74,10 @@ See also:
|
|
|
74
74
|
|
|
75
75
|
## History
|
|
76
76
|
|
|
77
|
-
* [*dev*](https://github.com/jedie/dev-shell/compare/v0.
|
|
77
|
+
* [*dev*](https://github.com/jedie/dev-shell/compare/v0.10.1...main)
|
|
78
78
|
* TBC
|
|
79
|
+
* [0.10.1 - 2026-02-10](https://github.com/jedie/dev-shell/compare/v0.10.0...v0.10.1)
|
|
80
|
+
* Bugfix colorful shortcuts
|
|
79
81
|
* [0.10.0 - 2026-02-10](https://github.com/jedie/dev-shell/compare/v0.9.1...v0.10.0)
|
|
80
82
|
* Modernize codebase
|
|
81
83
|
* [0.9.1 - 2025-03-11](https://github.com/jedie/dev-shell/compare/v0.9.0...v0.9.1)
|
|
@@ -8,7 +8,15 @@ class DevShellApp(DevShellBaseApp):
|
|
|
8
8
|
"""
|
|
9
9
|
The "dev-shell" Cmd2 App
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
def __init__(self, *args, **kwargs):
|
|
13
|
+
super().__init__(*args, **kwargs)
|
|
14
|
+
|
|
15
|
+
# Just print the help table on startup if no CLI usage (no command passed as argument):
|
|
16
|
+
if not self._startup_commands:
|
|
17
|
+
self._startup_commands = [
|
|
18
|
+
'help',
|
|
19
|
+
]
|
|
12
20
|
|
|
13
21
|
|
|
14
22
|
def get_devshell_app_kwargs():
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Just some shortcuts to print colorful stuff using rich
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
from cmd2.rich_utils import rich_text_to_string
|
|
5
5
|
from rich.console import Console
|
|
6
6
|
from rich.text import Text
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def red(msg: str) -> str:
|
|
10
|
-
return
|
|
10
|
+
return rich_text_to_string(Text(msg, style='red'))
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def green(msg: str) -> str:
|
|
14
|
-
return
|
|
14
|
+
return rich_text_to_string(Text(msg, style='green'))
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
def yellow(msg: str) -> str:
|
|
18
|
-
return
|
|
18
|
+
return rich_text_to_string(Text(msg, style='yellow'))
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
def blue(msg: str) -> str:
|
|
22
|
-
return
|
|
22
|
+
return rich_text_to_string(Text(msg, style='blue'))
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
def magenta(msg: str) -> str:
|
|
26
|
-
return
|
|
26
|
+
return rich_text_to_string(Text(msg, style='magenta'))
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
def cyan(msg: str) -> str:
|
|
30
|
-
return
|
|
30
|
+
return rich_text_to_string(Text(msg, style='cyan'))
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def white(msg: str) -> str:
|
|
34
|
-
return
|
|
34
|
+
return rich_text_to_string(Text(msg, style='white'))
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
###################################################################################################
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
def bright_red(msg: str) -> str:
|
|
41
|
-
return
|
|
41
|
+
return rich_text_to_string(Text(msg, style='bright_red'))
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
def bright_green(msg: str) -> str:
|
|
45
|
-
return
|
|
45
|
+
return rich_text_to_string(Text(msg, style='bright_green'))
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
def bright_yellow(msg: str) -> str:
|
|
49
|
-
return
|
|
49
|
+
return rich_text_to_string(Text(msg, style='bright_yellow'))
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def bright_blue(msg: str) -> str:
|
|
53
|
-
return
|
|
53
|
+
return rich_text_to_string(Text(msg, style='bright_blue'))
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
def bright_magenta(msg: str) -> str:
|
|
57
|
-
return
|
|
57
|
+
return rich_text_to_string(Text(msg, style='bright_magenta'))
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
def bright_cyan(msg: str) -> str:
|
|
61
|
-
return
|
|
61
|
+
return rich_text_to_string(Text(msg, style='bright_cyan'))
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
def bright_white(msg: str) -> str:
|
|
65
|
-
return
|
|
65
|
+
return rich_text_to_string(Text(msg, style='bright_white'))
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
###################################################################################################
|
|
@@ -71,3 +71,4 @@ def bright_white(msg: str) -> str:
|
|
|
71
71
|
def print_error(err: str) -> None:
|
|
72
72
|
console = Console()
|
|
73
73
|
console.print(f'\n{err}\n', style='bold bright_red')
|
|
74
|
+
|
|
@@ -1540,27 +1540,27 @@ wheels = [
|
|
|
1540
1540
|
|
|
1541
1541
|
[[package]]
|
|
1542
1542
|
name = "uv"
|
|
1543
|
-
version = "0.10.
|
|
1544
|
-
source = { registry = "https://pypi.org/simple" }
|
|
1545
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
1546
|
-
wheels = [
|
|
1547
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1548
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1549
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1550
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1551
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1552
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1553
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1554
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1555
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1556
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1557
|
-
{ url = "https://files.pythonhosted.org/packages/87/
|
|
1558
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1559
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1560
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1561
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1562
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1563
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
1543
|
+
version = "0.10.1"
|
|
1544
|
+
source = { registry = "https://pypi.org/simple" }
|
|
1545
|
+
sdist = { url = "https://files.pythonhosted.org/packages/a6/29/cc8dbb71a4bc7c99772e9c3c6207740b383cc6be068718aa44ff729a5498/uv-0.10.1.tar.gz", hash = "sha256:c89e7fd708fb3474332d6fc54beb2ea48313ebdc82c6931df92a884fcb636d9d", size = 3857494, upload-time = "2026-02-10T11:45:58.063Z" }
|
|
1546
|
+
wheels = [
|
|
1547
|
+
{ url = "https://files.pythonhosted.org/packages/af/38/9ea106251bee373a6ea63a62cdd2eb3a568635aeb61ec028576116c14c4c/uv-0.10.1-py3-none-linux_armv6l.whl", hash = "sha256:f7773ef123e070408f899d5e17134a14d61bf2fd27452140b5c26e818421b6d4", size = 21972622, upload-time = "2026-02-10T11:46:20.639Z" },
|
|
1548
|
+
{ url = "https://files.pythonhosted.org/packages/fd/1e/2b14ab61336425db16e2984bbee3897d3ef7f3c2044f22923e4266b58a99/uv-0.10.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:25c71dd125f1ab8b58a6bd576bd429966b5505f1011359cea84d30cb8aca5ea5", size = 21137491, upload-time = "2026-02-10T11:45:55.68Z" },
|
|
1549
|
+
{ url = "https://files.pythonhosted.org/packages/18/ba/059cd75b87cdc43c7340d9fe86c07b38c4cd697aae2bd9e5f6ae5b02df4a/uv-0.10.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:f402bc18c28098aaab0ae8803d44cafe791b73a0e71f6011ea8e985785399f1f", size = 19870037, upload-time = "2026-02-10T11:46:01.178Z" },
|
|
1550
|
+
{ url = "https://files.pythonhosted.org/packages/c7/a0/09e6d983a43cf25a5680135e0af390c232e145d367786d5c5db87edc16d3/uv-0.10.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:0afe5dc5074df0352f42afa37bfebee8e1d62c0ed59dbfecc5f4c69e7ee3d5bb", size = 21670257, upload-time = "2026-02-10T11:46:24.141Z" },
|
|
1551
|
+
{ url = "https://files.pythonhosted.org/packages/4a/df/165ffe3fd8f6dd01c1fb42a96fee127a9224ce7a11d29cfb1c0ff3d4047a/uv-0.10.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:da843a22dfc7220112c47e450a41b5522bf9ab0f57579f4834cc40fb9cef20c7", size = 21609835, upload-time = "2026-02-10T11:45:40.884Z" },
|
|
1552
|
+
{ url = "https://files.pythonhosted.org/packages/12/40/0a8a0e6fedb0622427270bf4c44667b84306b064ad3c82355d12927ecf08/uv-0.10.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:103c086010c9b887a21647885b700bd789591ac8a7291aa12dcdba98da814ccd", size = 21586040, upload-time = "2026-02-10T11:45:44.546Z" },
|
|
1553
|
+
{ url = "https://files.pythonhosted.org/packages/8f/1a/0bad908d115c30b46f87244bbbce146ae4da74bb341f5a33621a89c32b7c/uv-0.10.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e90d2fcd75ca6d020ce56158db8c2dc14ce6adf5a812eead38d3f18633b17a88", size = 22837478, upload-time = "2026-02-10T11:46:05.93Z" },
|
|
1554
|
+
{ url = "https://files.pythonhosted.org/packages/aa/3a/c0d945df78987bee27abfe820794b47f70a6374ebe10f198f17879093227/uv-0.10.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:099387413175bdee6c6b54205ad5d9cd2ee9176c04f6a35f90169dde58c419cd", size = 23761745, upload-time = "2026-02-10T11:46:12.872Z" },
|
|
1555
|
+
{ url = "https://files.pythonhosted.org/packages/4f/f9/ecec3ef281fcc95a887edca294eba777966ca05e1f3bf00dcee761f2ad0c/uv-0.10.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c8106e451891b40d8aca6cd238615d2a94eb77ffc45486e4874005909ba6f67f", size = 22919999, upload-time = "2026-02-10T11:46:42.807Z" },
|
|
1556
|
+
{ url = "https://files.pythonhosted.org/packages/81/6a/307c0f659df0882458e919628387e6f8fdb422b31ffd4f1a8a33bf8818c0/uv-0.10.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:56c12c14888b9ba51bb34297cfb5b767637455c2aaee3a4afd8d9ad65a2cf048", size = 22809446, upload-time = "2026-02-10T11:46:28.016Z" },
|
|
1557
|
+
{ url = "https://files.pythonhosted.org/packages/c9/87/af41bc3e2c7122d8f233291197f7f2cdab27f39474fd93964c6dce0332b3/uv-0.10.1-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:1627388fec50bd1f56c2f9708f654c508dbb533104de8a276b80c6d023521d66", size = 21737489, upload-time = "2026-02-10T11:46:09.275Z" },
|
|
1558
|
+
{ url = "https://files.pythonhosted.org/packages/5a/04/65d9dd3972a404bad0631cc06d278f9e1c644c5e087a645fac345114e09b/uv-0.10.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:1a04d5d36b0d996c442f9f1ed222a3a72693ec2d13d2f6027c3644891e8bc57d", size = 22451568, upload-time = "2026-02-10T11:46:38.999Z" },
|
|
1559
|
+
{ url = "https://files.pythonhosted.org/packages/90/4e/fff7d673e4164cf5fcfff4cf2c1531b1d9bbdc8c0dd3b6357a6af16a81e6/uv-0.10.1-py3-none-musllinux_1_1_i686.whl", hash = "sha256:8734722834e50154aa221d1587939e5afae04d87a7ca83a2cff8e10127fc8e01", size = 22151742, upload-time = "2026-02-10T11:45:48.069Z" },
|
|
1560
|
+
{ url = "https://files.pythonhosted.org/packages/0d/ed/f981c453472d1eb648dd606262578eb2c63e4cc337549f8e26107a9aa747/uv-0.10.1-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:9ba3c40140cb4f71c09249f1d90fab2d764626170a16985299b5bd3285a69fb7", size = 23021227, upload-time = "2026-02-10T11:46:35.406Z" },
|
|
1561
|
+
{ url = "https://files.pythonhosted.org/packages/66/56/fa93f15e4e05474d5ea8ff28544f96c670187b7411fbd50603ba0d3efe11/uv-0.10.1-py3-none-win32.whl", hash = "sha256:21085841f1a0b5317abdb4fe7148d7464a532067acae1867878c86e379eeb308", size = 20941424, upload-time = "2026-02-10T11:46:31.737Z" },
|
|
1562
|
+
{ url = "https://files.pythonhosted.org/packages/b1/5f/dda2d859e834d6ace18b351e2d7d6991018b51d33ffc4a900e2950119547/uv-0.10.1-py3-none-win_amd64.whl", hash = "sha256:92525305795d7dd134e66743d368d252ff94e3d84ae7525ec284116a231a6d4b", size = 23447854, upload-time = "2026-02-10T11:45:52.015Z" },
|
|
1563
|
+
{ url = "https://files.pythonhosted.org/packages/6c/49/5dd22a0ee0dc52eb23683b34cbe165c1e8dc78440122bb7ecb1cd74fe331/uv-0.10.1-py3-none-win_arm64.whl", hash = "sha256:7ef720d1755809a1a19e31c0925317925cb2b11f5ad8e9f918794f2288b188a6", size = 21886632, upload-time = "2026-02-10T11:46:17.088Z" },
|
|
1564
1564
|
]
|
|
1565
1565
|
|
|
1566
1566
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|