-
Notifications
You must be signed in to change notification settings - Fork 0
/
clstr.py
58 lines (30 loc) · 1.21 KB
/
clstr.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
def red(txt: str | int | float) -> str:
return f'\033[31m{txt}\033[00m'
def green(txt: str | int | float) -> str:
return f'\033[32m{txt}\033[00m'
def yellow(txt: str | int | float) -> str:
return f'\033[33m{txt}\033[00m'
def blue(txt: str | int | float) -> str:
return f'\033[34m{txt}\033[00m'
def magenta(txt: str | int | float) -> str:
return f'\033[35m{txt}\033[00m'
def cyan(txt: str | int | float) -> str:
return f'\033[36m{txt}\033[00m'
def light_gray(txt: str | int | float) -> str:
return f'\033[37m{txt}\033[00m'
def dark_gray(txt: str | int | float) -> str:
return f'\033[90m{txt}\033[00m'
def light_red(txt: str | int | float) -> str:
return f'\033[91m{txt}\033[00m'
def light_green(txt: str | int | float) -> str:
return f'\033[92m{txt}\033[00m'
def light_yellow(txt: str | int | float) -> str:
return f'\033[93m{txt}\033[00m'
def light_blue(txt: str | int | float) -> str:
return f'\033[94m{txt}\033[00m'
def light_magenta(txt: str | int | float) -> str:
return f'\033[95m{txt}\033[00m'
def light_cyan(txt: str | int | float) -> str:
return f'\033[96m{txt}\033[00m'
def white(txt: str | int | float) -> str:
return f'\033[97m{txt}\033[00m'