multiSSH3 5.52__tar.gz → 5.53__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.
Potentially problematic release.
This version of multiSSH3 might be problematic. Click here for more details.
- {multissh3-5.52 → multissh3-5.53}/PKG-INFO +1 -1
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/PKG-INFO +1 -1
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.py +5 -2
- {multissh3-5.52 → multissh3-5.53}/README.md +0 -0
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/SOURCES.txt +0 -0
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/entry_points.txt +0 -0
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/requires.txt +0 -0
- {multissh3-5.52 → multissh3-5.53}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-5.52 → multissh3-5.53}/setup.cfg +0 -0
- {multissh3-5.52 → multissh3-5.53}/setup.py +0 -0
- {multissh3-5.52 → multissh3-5.53}/test/test.py +0 -0
- {multissh3-5.52 → multissh3-5.53}/test/testCurses.py +0 -0
- {multissh3-5.52 → multissh3-5.53}/test/testCursesOld.py +0 -0
- {multissh3-5.52 → multissh3-5.53}/test/testPerfCompact.py +0 -0
- {multissh3-5.52 → multissh3-5.53}/test/testPerfExpand.py +0 -0
|
@@ -54,7 +54,7 @@ except AttributeError:
|
|
|
54
54
|
# If neither is available, use a dummy decorator
|
|
55
55
|
def cache_decorator(func):
|
|
56
56
|
return func
|
|
57
|
-
version = '5.
|
|
57
|
+
version = '5.53'
|
|
58
58
|
VERSION = version
|
|
59
59
|
__version__ = version
|
|
60
60
|
COMMIT_DATE = '2025-03-01'
|
|
@@ -491,7 +491,7 @@ def replace_magic_strings(string,keys,value,case_sensitive=False):
|
|
|
491
491
|
return string
|
|
492
492
|
|
|
493
493
|
def pretty_format_table(data, delimiter = '\t',header = None):
|
|
494
|
-
version = 1.
|
|
494
|
+
version = 1.11
|
|
495
495
|
if not data:
|
|
496
496
|
return ''
|
|
497
497
|
if type(data) == str:
|
|
@@ -521,6 +521,9 @@ def pretty_format_table(data, delimiter = '\t',header = None):
|
|
|
521
521
|
#col_widths[c] = max(len(row[c]) for row in data)
|
|
522
522
|
# handle ansii escape sequences
|
|
523
523
|
col_widths[c] = max(len(re.sub(r'\x1b\[[0-?]*[ -/]*[@-~]','',row[c])) for row in data)
|
|
524
|
+
if header:
|
|
525
|
+
header_widths = [len(re.sub(r'\x1b\[[0-?]*[ -/]*[@-~]', '', col)) for col in header]
|
|
526
|
+
col_widths = [max(col_widths[i], header_widths[i]) for i in range(num_cols)]
|
|
524
527
|
# Build the row format string
|
|
525
528
|
row_format = ' | '.join('{{:<{}}}'.format(width) for width in col_widths)
|
|
526
529
|
# Print the header
|
|
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
|