tui-utilities 1.1.0__py3-none-any.whl → 1.1.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.
Potentially problematic release.
This version of tui-utilities might be problematic. Click here for more details.
- tui_utilities/structure.py +3 -2
- {tui_utilities-1.1.0.dist-info → tui_utilities-1.1.2.dist-info}/METADATA +3 -3
- {tui_utilities-1.1.0.dist-info → tui_utilities-1.1.2.dist-info}/RECORD +5 -5
- {tui_utilities-1.1.0.dist-info → tui_utilities-1.1.2.dist-info}/WHEEL +0 -0
- {tui_utilities-1.1.0.dist-info → tui_utilities-1.1.2.dist-info}/top_level.txt +0 -0
tui_utilities/structure.py
CHANGED
|
@@ -62,7 +62,7 @@ def header(
|
|
|
62
62
|
first_character = separator_first_character,
|
|
63
63
|
separator_character = separator_separator_character,
|
|
64
64
|
last_character = separator_last_character,
|
|
65
|
-
length = separator_length if separator_length else len(title),
|
|
65
|
+
length = separator_length if separator_length else len(title) + 2,
|
|
66
66
|
color = separator_color,
|
|
67
67
|
aligment = separator_aligment,
|
|
68
68
|
padding = separator_padding,
|
|
@@ -165,7 +165,8 @@ def separator(
|
|
|
165
165
|
bottom_padding = None,
|
|
166
166
|
left_padding = None
|
|
167
167
|
):
|
|
168
|
-
print(
|
|
168
|
+
print(
|
|
169
|
+
first_character + separator_character * (length - 2) + last_character,
|
|
169
170
|
color = color,
|
|
170
171
|
bold = True,
|
|
171
172
|
alignment = aligment,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tui_utilities
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Personal-use console utilities library
|
|
5
5
|
Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -68,13 +68,13 @@ Styled terminal interaction built on rich:
|
|
|
68
68
|
|
|
69
69
|
Tools for building structures in console applications:
|
|
70
70
|
|
|
71
|
-
- header(): prints a
|
|
71
|
+
- header(): prints a styled header, consisting of a title and a separator.
|
|
72
72
|
|
|
73
73
|
- menu(): creates interactive selection menus with automatic numbering and special options like "Go back" and "Exit".
|
|
74
74
|
|
|
75
75
|
- confirm_exit(): confirmation dialog that exits the program safely.
|
|
76
76
|
|
|
77
|
-
- separator(): prints a
|
|
77
|
+
- separator(): prints a fully-personalized visual separator line.
|
|
78
78
|
|
|
79
79
|
- error_message(): displays formatted error information including:
|
|
80
80
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
tui_utilities/__init__.py,sha256=zL2dBAmn6OgjnkjP7ABpgTaivse9WhCj_sQl2W3H0Uw,549
|
|
2
2
|
tui_utilities/console.py,sha256=3p3VVzWOAjxzvoYK3P05ZlC7f7zdxocPim8vxbN5fjw,6023
|
|
3
3
|
tui_utilities/format.py,sha256=6Ou6aeRku1Fb5Nf0tKmCgh8CIsh3sRJZogog-f5_igc,657
|
|
4
|
-
tui_utilities/structure.py,sha256=
|
|
4
|
+
tui_utilities/structure.py,sha256=ctICJOkv5aMM6nP34f6snJSDP_fEsnfEpg18wrScUA4,8331
|
|
5
5
|
tui_utilities/system.py,sha256=KGkEg11zlH18FiQsuywgW0Ls7aiPlvgJr7tDsQMJCBo,308
|
|
6
6
|
tui_utilities/validation.py,sha256=DGaVjTiLAsdG3wFIuiYWg9vRZZ5R0OgBB8cxWg-riZ8,6502
|
|
7
7
|
tui_utilities/_tlds/tlds.txt,sha256=ieHVMCtLqEoh8aiMZIZPepNdOjR3CGlO2QgH5LKCRuI,10916
|
|
8
|
-
tui_utilities-1.1.
|
|
9
|
-
tui_utilities-1.1.
|
|
10
|
-
tui_utilities-1.1.
|
|
11
|
-
tui_utilities-1.1.
|
|
8
|
+
tui_utilities-1.1.2.dist-info/METADATA,sha256=mwiE_J6RndyBDSs6XcpH4OF60Mfi2mF1qqNncgLKP7M,4727
|
|
9
|
+
tui_utilities-1.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
+
tui_utilities-1.1.2.dist-info/top_level.txt,sha256=TF1KuV0fMB1rkFRhqaCkqjprAnH-Tpc4Klsxwif5RWI,14
|
|
11
|
+
tui_utilities-1.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|