pipu-cli 0.1.dev7__py3-none-any.whl → 0.2.0__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.
- pipu_cli/__init__.py +2 -2
- pipu_cli/cache.py +316 -0
- pipu_cli/cli.py +863 -813
- pipu_cli/config.py +7 -58
- pipu_cli/config_file.py +80 -0
- pipu_cli/output.py +99 -0
- pipu_cli/package_management.py +1145 -0
- pipu_cli/pretty.py +286 -0
- pipu_cli/requirements.py +100 -0
- pipu_cli/rollback.py +110 -0
- pipu_cli-0.2.0.dist-info/METADATA +422 -0
- pipu_cli-0.2.0.dist-info/RECORD +16 -0
- pipu_cli/common.py +0 -4
- pipu_cli/internals.py +0 -815
- pipu_cli/package_constraints.py +0 -2296
- pipu_cli/thread_safe.py +0 -243
- pipu_cli/ui/__init__.py +0 -51
- pipu_cli/ui/apps.py +0 -1464
- pipu_cli/ui/constants.py +0 -33
- pipu_cli/ui/modal_dialogs.py +0 -1375
- pipu_cli/ui/table_widgets.py +0 -344
- pipu_cli/utils.py +0 -169
- pipu_cli-0.1.dev7.dist-info/METADATA +0 -517
- pipu_cli-0.1.dev7.dist-info/RECORD +0 -19
- {pipu_cli-0.1.dev7.dist-info → pipu_cli-0.2.0.dist-info}/WHEEL +0 -0
- {pipu_cli-0.1.dev7.dist-info → pipu_cli-0.2.0.dist-info}/entry_points.txt +0 -0
- {pipu_cli-0.1.dev7.dist-info → pipu_cli-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {pipu_cli-0.1.dev7.dist-info → pipu_cli-0.2.0.dist-info}/top_level.txt +0 -0
pipu_cli/ui/constants.py
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Constants and configuration for the TUI interface.
|
|
3
|
-
|
|
4
|
-
Contains column definitions, timeouts, and other UI constants.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
# Table column indices
|
|
8
|
-
COLUMN_SELECTION = 0
|
|
9
|
-
COLUMN_PACKAGE = 1
|
|
10
|
-
COLUMN_CURRENT = 2
|
|
11
|
-
COLUMN_LATEST = 3
|
|
12
|
-
COLUMN_TYPE = 4
|
|
13
|
-
COLUMN_CONSTRAINT = 5
|
|
14
|
-
COLUMN_INVALID_WHEN = 6
|
|
15
|
-
|
|
16
|
-
# Table column definitions for consistent display across UI
|
|
17
|
-
# These can be used to ensure all tables have the same structure
|
|
18
|
-
TABLE_COLUMNS = {
|
|
19
|
-
"package": {"title": "Package", "width": 20},
|
|
20
|
-
"current": {"title": "Current", "width": 12},
|
|
21
|
-
"latest": {"title": "Latest", "width": 12},
|
|
22
|
-
"type": {"title": "Type", "width": 8},
|
|
23
|
-
"constraint": {"title": "Constraint", "width": 20},
|
|
24
|
-
"constraint_invalid_when": {"title": "Constraint Invalid When", "width": 30},
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
# Config option name
|
|
28
|
-
CONFIG_CONSTRAINT_INVALID_WHEN = 'constraint_invalid_when'
|
|
29
|
-
|
|
30
|
-
# UI timeouts and limits
|
|
31
|
-
FORCE_EXIT_TIMEOUT = 0.5 # seconds
|
|
32
|
-
UNINSTALL_TIMEOUT = 30 # seconds
|
|
33
|
-
NETWORK_TIMEOUT_TEST = 1 # seconds - for fast test execution
|