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:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:47 +0000
commit03a1bd448be99d872d663a57a1cf4492882e090d (patch)
treec3d23691aa4dfdba89856bde05707a9a8e16abab /typing-stubs/colored/utilities.pyi
parentAdding upstream version 0.1.28. (diff)
downloaddebputy-03a1bd448be99d872d663a57a1cf4492882e090d.tar.xz
debputy-03a1bd448be99d872d663a57a1cf4492882e090d.zip
Adding upstream version 0.1.29.upstream/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: ...