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/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