diff options
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: ... |