swiftapi-python 1.0.2__tar.gz → 1.0.3__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.
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/PKG-INFO +1 -1
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/pyproject.toml +1 -1
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/utils.py +20 -9
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/PKG-INFO +1 -1
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/README.md +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/setup.cfg +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/__init__.py +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/client.py +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/enforcement.py +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/exceptions.py +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi/verifier.py +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/SOURCES.txt +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/dependency_links.txt +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/requires.txt +0 -0
- {swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/top_level.txt +0 -0
|
@@ -30,18 +30,29 @@ class Colors:
|
|
|
30
30
|
RED = GREEN = YELLOW = BLUE = MAGENTA = CYAN = WHITE = RESET = BOLD = ""
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
# Unicode symbols
|
|
33
|
+
# Unicode symbols - Windows-safe fallbacks
|
|
34
34
|
class Symbols:
|
|
35
35
|
"""Unicode symbols for SwiftAPI output."""
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
if sys.platform == 'win32':
|
|
38
|
+
# Windows console can't encode emoji - use ASCII fallbacks
|
|
39
|
+
LOCK = "[DENIED]"
|
|
40
|
+
UNLOCK = "[UNLOCKED]"
|
|
41
|
+
CHECK = "[OK]"
|
|
42
|
+
CROSS = "[X]"
|
|
43
|
+
SHIELD = "[VERIFIED]"
|
|
44
|
+
KEY = "[KEY]"
|
|
45
|
+
WARNING = "[!]"
|
|
46
|
+
LIGHTNING = "[*]"
|
|
47
|
+
else:
|
|
48
|
+
LOCK = "\U0001F512" # Locked
|
|
49
|
+
UNLOCK = "\U0001F513" # Unlocked
|
|
50
|
+
CHECK = "\u2713" # Checkmark
|
|
51
|
+
CROSS = "\u2717" # X mark
|
|
52
|
+
SHIELD = "\U0001F6E1" # Shield
|
|
53
|
+
KEY = "\U0001F511" # Key
|
|
54
|
+
WARNING = "\u26A0" # Warning
|
|
55
|
+
LIGHTNING = "\u26A1" # Lightning bolt
|
|
45
56
|
|
|
46
57
|
|
|
47
58
|
def print_approved(action_type: str, intent: str):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swiftapi_python-1.0.2 → swiftapi_python-1.0.3}/swiftapi_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|