hspylib-clitt 0.9.135__tar.gz → 0.9.137__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 hspylib-clitt might be problematic. Click here for more details.
- {hspylib_clitt-0.9.135/hspylib_clitt.egg-info → hspylib_clitt-0.9.137}/PKG-INFO +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/README.md +1 -1
- hspylib_clitt-0.9.137/clitt/.version +1 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/exception/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/emojis/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/game_icons.py +11 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/term/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/term/terminal.py +23 -15
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/line_input/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mchoose/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mselect/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/table/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/tui_component.py +1 -1
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/utils/__init__.py +2 -2
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137/hspylib_clitt.egg-info}/PKG-INFO +2 -2
- hspylib_clitt-0.9.135/clitt/.version +0 -1
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/MANIFEST.in +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/__classpath__.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/__main__.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/appman.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/appman_enums.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/build.gradle.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/classpath.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/dependencies.hspd.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/gitignore.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt_view.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt_view.ui.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/run.sh.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/test_main.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/usage.txt.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/widget.py.tpl +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widget.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widget_entry.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_free.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_punch.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_send_msg.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_time_calc.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widman.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/exception/exceptions.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/emojis/emojis.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/emojis/face_smiling.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/app_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/awesome.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/dashboard_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/form_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/nav_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/trickplay_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/widget_icons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/preferences.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/term/commons.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/term/cursor.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/term/screen.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/line_input/keyboard_input.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/line_input/line_input.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mchoose/mchoose.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mchoose/menu_choose.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/dashboard_builder.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/dashboard_item.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/mdashboard.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/menu_dashboard.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu_action.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu_factory.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu_item.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu_ui.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/menu/tui_menu_view.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/access_type.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/field_builder.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/form_builder.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/form_field.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/input_type.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/input_validator.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/menu_input.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/minput.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/minput/minput_utils.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mselect/menu_select.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mselect/mselect.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/table/table_enums.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/table/table_renderer.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/tui_application.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/tui_preferences.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/utils/git_utils.py +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/welcome.txt +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/hspylib_clitt.egg-info/SOURCES.txt +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/hspylib_clitt.egg-info/dependency_links.txt +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/hspylib_clitt.egg-info/requires.txt +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/hspylib_clitt.egg-info/top_level.txt +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/setup.cfg +0 -0
- {hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hspylib-clitt
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.137
|
|
4
4
|
Summary: HsPyLib - CLI Terminal Tools
|
|
5
5
|
Home-page: https://github.com/yorevs/hspylib
|
|
6
6
|
Author: Hugo Saporetti Junior
|
|
@@ -40,7 +40,7 @@ Requires-Dist: emoji>=2.12.1
|
|
|
40
40
|
[](https://gitter.im/hspylib/community)
|
|
41
41
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
|
|
42
42
|
[](LICENSE.md)
|
|
43
|
-
[](docs/CHANGELOG.md#unreleased)
|
|
44
44
|
[](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)
|
|
45
45
|
|
|
46
46
|
HsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://gitter.im/hspylib/community)
|
|
9
9
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
|
|
10
10
|
[](LICENSE.md)
|
|
11
|
-
[](docs/CHANGELOG.md#unreleased)
|
|
12
12
|
[](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)
|
|
13
13
|
|
|
14
14
|
HsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.137
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.addons
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'appman',
|
|
10
10
|
'widman'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.addons.appman
|
|
6
6
|
"""Package initialization."""
|
|
@@ -10,4 +10,4 @@ __all__ = [
|
|
|
10
10
|
'appman_enums',
|
|
11
11
|
'templates'
|
|
12
12
|
]
|
|
13
|
-
__version__ = '0.9.
|
|
13
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.addons.widman
|
|
6
6
|
"""Package initialization."""
|
|
@@ -11,4 +11,4 @@ __all__ = [
|
|
|
11
11
|
'widgets',
|
|
12
12
|
'widman'
|
|
13
13
|
]
|
|
14
|
-
__version__ = '0.9.
|
|
14
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.addons.widman.widgets
|
|
6
6
|
"""Package initialization."""
|
|
@@ -11,4 +11,4 @@ __all__ = [
|
|
|
11
11
|
'widget_send_msg',
|
|
12
12
|
'widget_time_calc'
|
|
13
13
|
]
|
|
14
|
-
__version__ = '0.9.
|
|
14
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core
|
|
6
6
|
"""Package initialization."""
|
|
@@ -12,4 +12,4 @@ __all__ = [
|
|
|
12
12
|
'term',
|
|
13
13
|
'tui'
|
|
14
14
|
]
|
|
15
|
-
__version__ = '0.9.
|
|
15
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.exception
|
|
6
6
|
"""Package initialization."""
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
__all__ = [
|
|
9
9
|
'exceptions'
|
|
10
10
|
]
|
|
11
|
-
__version__ = '0.9.
|
|
11
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.icons
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'emojis',
|
|
10
10
|
'font_awesome'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.icons.emojis
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'emojis',
|
|
10
10
|
'face_smiling'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.icons.font_awesome
|
|
6
6
|
"""Package initialization."""
|
|
@@ -15,4 +15,4 @@ __all__ = [
|
|
|
15
15
|
'trickplay_icons',
|
|
16
16
|
'widget_icons'
|
|
17
17
|
]
|
|
18
|
-
__version__ = '0.9.
|
|
18
|
+
__version__ = '0.9.137'
|
|
@@ -29,6 +29,7 @@ class GameIcons(Awesome):
|
|
|
29
29
|
STEAM = '\uF9D2' # 戮
|
|
30
30
|
XBOX = '\uFAB8' # 視
|
|
31
31
|
CUTLERY = '\uF9A5' # 殮
|
|
32
|
+
INN = '\uF9A2' # 廉
|
|
32
33
|
BALL = '\uF9B7' # 醴
|
|
33
34
|
HOME = '\uFAF7' #
|
|
34
35
|
FURNITURE = '\uF9B8' # 隸
|
|
@@ -54,6 +55,16 @@ class GameIcons(Awesome):
|
|
|
54
55
|
KEY = '\uF80A' #
|
|
55
56
|
OLD_KEY = '\uF084' #
|
|
56
57
|
SLEEP = '\uF9B1' # 鈴
|
|
58
|
+
NO_SLEEP = '\uF9B2' # 零
|
|
57
59
|
LUCK = '\uFD14' # ﴔ
|
|
58
60
|
ANIMAL = '\uF8E8' #
|
|
61
|
+
CASTLE = '\uF619' #
|
|
62
|
+
KING = '\uF6A4' #
|
|
63
|
+
DEATH = '\uFB8A' # ﮊ
|
|
64
|
+
BOMB = '\uFB8F' # ﮏ
|
|
65
|
+
HARD = '\uFCB0' # ﲰ
|
|
66
|
+
MEDIUM = '\uFCB1' # ﲱ
|
|
67
|
+
EAZY = '\uFCB2' # ﲲ
|
|
68
|
+
CHEST = '\uFC24' # ﰤ
|
|
69
|
+
|
|
59
70
|
# fmt: on
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.term
|
|
6
6
|
"""Package initialization."""
|
|
@@ -11,4 +11,4 @@ __all__ = [
|
|
|
11
11
|
'screen',
|
|
12
12
|
'terminal'
|
|
13
13
|
]
|
|
14
|
-
__version__ = '0.9.
|
|
14
|
+
__version__ = '0.9.137'
|
|
@@ -12,6 +12,17 @@
|
|
|
12
12
|
|
|
13
13
|
Copyright·(c)·2024,·HSPyLib
|
|
14
14
|
"""
|
|
15
|
+
|
|
16
|
+
import atexit
|
|
17
|
+
import logging as log
|
|
18
|
+
import os
|
|
19
|
+
import platform
|
|
20
|
+
import select
|
|
21
|
+
import shlex
|
|
22
|
+
import signal
|
|
23
|
+
from subprocess import CalledProcessError, PIPE, Popen
|
|
24
|
+
from typing import Any, Iterable, List, Optional, Tuple, TypeAlias
|
|
25
|
+
|
|
15
26
|
from clitt.core.exception.exceptions import NotATerminalError
|
|
16
27
|
from clitt.core.term.commons import is_a_tty
|
|
17
28
|
from clitt.core.term.cursor import Cursor
|
|
@@ -22,16 +33,6 @@ from hspylib.core.tools.commons import sysout
|
|
|
22
33
|
from hspylib.modules.application.exit_status import ExitStatus
|
|
23
34
|
from hspylib.modules.cli.keyboard import Keyboard
|
|
24
35
|
from hspylib.modules.cli.vt100.vt_100 import Vt100
|
|
25
|
-
from subprocess import CalledProcessError, PIPE, Popen
|
|
26
|
-
from typing import Any, Iterable, List, Optional, Tuple, TypeAlias
|
|
27
|
-
|
|
28
|
-
import atexit
|
|
29
|
-
import logging as log
|
|
30
|
-
import os
|
|
31
|
-
import platform
|
|
32
|
-
import select
|
|
33
|
-
import shlex
|
|
34
|
-
import signal
|
|
35
36
|
|
|
36
37
|
TerminalExecResult: TypeAlias = Tuple[Optional[str], Optional[str], ExitStatus]
|
|
37
38
|
|
|
@@ -76,11 +77,14 @@ class Terminal(metaclass=Singleton):
|
|
|
76
77
|
output, err_out = proc.communicate()
|
|
77
78
|
ret_code = ExitStatus.SUCCESS if proc.returncode == 0 else ExitStatus.FAILED
|
|
78
79
|
log.info("Execution result: %s", ret_code)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
try:
|
|
81
|
+
return (
|
|
82
|
+
output.decode(Charset.UTF_8.val) if output else '',
|
|
83
|
+
err_out.decode(Charset.UTF_8.val) if err_out else '',
|
|
84
|
+
ret_code
|
|
85
|
+
)
|
|
86
|
+
except UnicodeDecodeError as err:
|
|
87
|
+
return None, str(err), ExitStatus.ABNORMAL
|
|
84
88
|
|
|
85
89
|
@staticmethod
|
|
86
90
|
def shell_poll(cmd_line: str, **kwargs) -> None:
|
|
@@ -210,3 +214,7 @@ class Terminal(metaclass=Singleton):
|
|
|
210
214
|
|
|
211
215
|
|
|
212
216
|
assert (terminal := Terminal().INSTANCE) is not None, "Failed to create Terminal instance"
|
|
217
|
+
|
|
218
|
+
if __name__ == '__main__':
|
|
219
|
+
print(terminal.shell_exec("cat /Users/hugo/Downloads/.DS_Store", shell=True))
|
|
220
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui
|
|
6
6
|
"""Package initialization."""
|
|
@@ -17,4 +17,4 @@ __all__ = [
|
|
|
17
17
|
'tui_component',
|
|
18
18
|
'tui_preferences'
|
|
19
19
|
]
|
|
20
|
-
__version__ = '0.9.
|
|
20
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.line_input
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'keyboard_input',
|
|
10
10
|
'line_input'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.mchoose
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'mchoose',
|
|
10
10
|
'menu_choose'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.mdashboard
|
|
6
6
|
"""Package initialization."""
|
|
@@ -11,4 +11,4 @@ __all__ = [
|
|
|
11
11
|
'mdashboard',
|
|
12
12
|
'menu_dashboard'
|
|
13
13
|
]
|
|
14
|
-
__version__ = '0.9.
|
|
14
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.menu
|
|
6
6
|
"""Package initialization."""
|
|
@@ -13,4 +13,4 @@ __all__ = [
|
|
|
13
13
|
'tui_menu_ui',
|
|
14
14
|
'tui_menu_view'
|
|
15
15
|
]
|
|
16
|
-
__version__ = '0.9.
|
|
16
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.minput
|
|
6
6
|
"""Package initialization."""
|
|
@@ -16,4 +16,4 @@ __all__ = [
|
|
|
16
16
|
'minput',
|
|
17
17
|
'minput_utils'
|
|
18
18
|
]
|
|
19
|
-
__version__ = '0.9.
|
|
19
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.mselect
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'menu_select',
|
|
10
10
|
'mselect'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# _*_ coding: utf-8 _*_
|
|
2
2
|
#
|
|
3
|
-
# hspylib-clitt v0.9.
|
|
3
|
+
# hspylib-clitt v0.9.137
|
|
4
4
|
#
|
|
5
5
|
# Package: main.clitt.core.tui.table
|
|
6
6
|
"""Package initialization."""
|
|
@@ -9,4 +9,4 @@ __all__ = [
|
|
|
9
9
|
'table_enums',
|
|
10
10
|
'table_renderer'
|
|
11
11
|
]
|
|
12
|
-
__version__ = '0.9.
|
|
12
|
+
__version__ = '0.9.137'
|
|
@@ -107,7 +107,7 @@ class TUIComponent(ABC):
|
|
|
107
107
|
:param line_fmt: the line format.
|
|
108
108
|
:param args: the format arguments.
|
|
109
109
|
"""
|
|
110
|
-
self.writeln(elide_text(line_fmt.format(*args), self.columns) + "%NC%")
|
|
110
|
+
self.writeln(elide_text(line_fmt.format(*args).rstrip(), self.columns - 8) + "%NC%")
|
|
111
111
|
|
|
112
112
|
def draw_navbar(self, navbar: str) -> None:
|
|
113
113
|
"""Draws the component navigation bar respecting the specified max_columns.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hspylib-clitt
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.137
|
|
4
4
|
Summary: HsPyLib - CLI Terminal Tools
|
|
5
5
|
Home-page: https://github.com/yorevs/hspylib
|
|
6
6
|
Author: Hugo Saporetti Junior
|
|
@@ -40,7 +40,7 @@ Requires-Dist: emoji>=2.12.1
|
|
|
40
40
|
[](https://gitter.im/hspylib/community)
|
|
41
41
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J5CDEFLF6M3H4)
|
|
42
42
|
[](LICENSE.md)
|
|
43
|
-
[](docs/CHANGELOG.md#unreleased)
|
|
44
44
|
[](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)
|
|
45
45
|
|
|
46
46
|
HsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.135
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/build.gradle.tpl
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/classpath.py.tpl
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/dependencies.hspd.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt.py.tpl
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt_view.py.tpl
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/main_qt_view.ui.tpl
RENAMED
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/appman/templates/test_main.py.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_send_msg.py
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/addons/widman/widgets/widget_time_calc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/dashboard_icons.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/trickplay_icons.py
RENAMED
|
File without changes
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/icons/font_awesome/widget_icons.py
RENAMED
|
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
|
{hspylib_clitt-0.9.135 → hspylib_clitt-0.9.137}/clitt/core/tui/mdashboard/dashboard_builder.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|