wizlib 3.3.7__py3-none-any.whl → 3.3.9__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 wizlib might be problematic. Click here for more details.
wizlib/ui/shell_ui.py
CHANGED
|
@@ -23,9 +23,11 @@ class ShellUI(UI):
|
|
|
23
23
|
|
|
24
24
|
name = "shell"
|
|
25
25
|
|
|
26
|
-
def send(self, value: str = '', emphasis: Emphasis = Emphasis.GENERAL
|
|
26
|
+
def send(self, value: str = '', emphasis: Emphasis = Emphasis.GENERAL,
|
|
27
|
+
newline: bool = True):
|
|
27
28
|
"""Output some text"""
|
|
28
|
-
|
|
29
|
+
end = '\n' if newline else ''
|
|
30
|
+
sys.stderr.write(COLOR[emphasis] + value + S.RESET + end)
|
|
29
31
|
sys.stderr.flush()
|
|
30
32
|
|
|
31
33
|
def ask(self, value: str):
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wizlib
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.9
|
|
4
4
|
Summary: Framework for flexible and powerful command-line applications
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Steampunk Wizard
|
|
7
7
|
Author-email: wizlib@steampunkwizard.ca
|
|
8
|
-
Requires-Python: >=3.11,<
|
|
8
|
+
Requires-Python: >=3.11,<4.0
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
15
|
Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
|
|
13
|
-
Requires-Dist: gnureadline (>=8.1.2,<9.0.0) ; sys_platform == "darwin"
|
|
14
|
-
Requires-Dist: myst-parser (>=2.0.0,<3.0.0)
|
|
15
|
-
Requires-Dist: pyreadline3 (>=3.4.1,<4.0.0) ; sys_platform == "win32"
|
|
16
16
|
Requires-Dist: readchar (>=4.0.5,<5.0.0)
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -13,8 +13,8 @@ wizlib/test_case.py,sha256=T5cX7yWy94hf8JuherDeBCH9Gve5tx2x_PZOte4udC0,1017
|
|
|
13
13
|
wizlib/ui/__init__.py,sha256=ve_p_g4aBujh4jIJMgKkJ6cE5PT0aeY5AgRlneDswGg,4241
|
|
14
14
|
wizlib/ui/shell/__init__.py,sha256=VFtxcvTh5Mhyx6JHbR1C8yIDHlOsrNjdqSVfH5ZPAtQ,1154
|
|
15
15
|
wizlib/ui/shell/line_editor.py,sha256=OXOgHBhp7EfheZK1mdOykYqB_aXDn2bHA12dvHN9kFg,8087
|
|
16
|
-
wizlib/ui/shell_ui.py,sha256=
|
|
16
|
+
wizlib/ui/shell_ui.py,sha256=2xrqR_hHuusOyUcXm7mF-Y-POkde-Pj-QIKOAWbC6A4,1983
|
|
17
17
|
wizlib/ui_handler.py,sha256=JoZadtw9DKAtGvHKP3_BJF2NaYqmcQYNdsY4PeRnOjg,634
|
|
18
|
-
wizlib-3.3.
|
|
19
|
-
wizlib-3.3.
|
|
20
|
-
wizlib-3.3.
|
|
18
|
+
wizlib-3.3.9.dist-info/METADATA,sha256=3VbJ_TIrxwiDPAKgGOKRG36MPVOodx5dU2rD_w4YyNc,995
|
|
19
|
+
wizlib-3.3.9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
20
|
+
wizlib-3.3.9.dist-info/RECORD,,
|