summaryrefslogtreecommitdiffstats
path: root/typing-stubs/colored/foreground.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/foreground.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 'typing-stubs/colored/foreground.pyi')
-rw-r--r--typing-stubs/colored/foreground.pyi14
1 files changed, 14 insertions, 0 deletions
diff --git a/typing-stubs/colored/foreground.pyi b/typing-stubs/colored/foreground.pyi
new file mode 100644
index 0000000..1bca2ed
--- /dev/null
+++ b/typing-stubs/colored/foreground.pyi
@@ -0,0 +1,14 @@
+from .exceptions import InvalidColor as InvalidColor
+from .library import Library as Library
+from .utilities import Utilities as Utilities
+
+class MetaFore(type):
+ def __getattr__(cls, color: str): ...
+
+class Fore(metaclass=MetaFore):
+ @classmethod
+ def rgb(cls, r: int | str, g: int | str, b: int | str) -> str: ...
+ @classmethod
+ def RGB(cls, r: int | str, g: int | str, b: int | str) -> str: ...
+
+class fore(Fore): ...