summaryrefslogtreecommitdiffstats
path: root/typing-stubs/colored/utilities.pyi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:48 +0000
commit6dba7fe33f3f508033d1192ef4dbf98707f24140 (patch)
treed84b5b1ebca79975ae2a30f22c91c7964182c223 /typing-stubs/colored/utilities.pyi
parentAdding debian version 0.1.28. (diff)
downloaddebputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.tar.xz
debputy-6dba7fe33f3f508033d1192ef4dbf98707f24140.zip
Merging upstream version 0.1.29.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--typing-stubs/colored/utilities.pyi13
1 files changed, 13 insertions, 0 deletions
diff --git a/typing-stubs/colored/utilities.pyi b/typing-stubs/colored/utilities.pyi
new file mode 100644
index 0000000..97a1157
--- /dev/null
+++ b/typing-stubs/colored/utilities.pyi
@@ -0,0 +1,13 @@
+from .exceptions import InvalidColor as InvalidColor, InvalidControl as InvalidControl, InvalidHexColor as InvalidHexColor, InvalidStyle as InvalidStyle
+from .library import Library as Library
+
+class Utilities:
+ RGB_MAXIMUM_COLOR: int
+ colorterm: str
+ def __init__(self) -> None: ...
+ def is_color_exist(self, name: str) -> bool: ...
+ def is_style_exist(self, name: str) -> bool: ...
+ def is_control_exist(self, name: str) -> bool: ...
+ def convert_percentages(self, percent: str | int) -> int | str: ...
+ def set_colorterm(self, colorterm: str = ''): ...
+ def is_percentage(self, numbers: tuple) -> list: ...