diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-25 02:59:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-25 02:59:48 +0000 |
commit | ec14b3742103754d9022782587d0b5cf2f9fd1e3 (patch) | |
tree | b3496f24575e063a780a133dfc86eca7a51fb290 /typing-stubs/colored/utilities.pyi | |
parent | Releasing progress-linux version 0.1.28-0.0~progress7.99u1. (diff) | |
download | debputy-ec14b3742103754d9022782587d0b5cf2f9fd1e3.tar.xz debputy-ec14b3742103754d9022782587d0b5cf2f9fd1e3.zip |
Merging upstream version 0.1.29.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'typing-stubs/colored/utilities.pyi')
-rw-r--r-- | typing-stubs/colored/utilities.pyi | 13 |
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: ... |