Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.69.17.11
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
pip /
_vendor /
rich /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
5.67
KB
-rw-r--r--
__main__.py
8.6
KB
-rw-r--r--
_cell_widths.py
9.86
KB
-rw-r--r--
_emoji_codes.py
136.95
KB
-rw-r--r--
_emoji_replace.py
1.04
KB
-rw-r--r--
_extension.py
265
B
-rw-r--r--
_inspect.py
7.27
KB
-rw-r--r--
_log_render.py
3.15
KB
-rw-r--r--
_loop.py
1.21
KB
-rw-r--r--
_lru_cache.py
1.22
KB
-rw-r--r--
_palettes.py
6.9
KB
-rw-r--r--
_pick.py
423
B
-rw-r--r--
_ratio.py
5.34
KB
-rw-r--r--
_spinners.py
25.9
KB
-rw-r--r--
_stack.py
351
B
-rw-r--r--
_timer.py
417
B
-rw-r--r--
_windows.py
2.02
KB
-rw-r--r--
_wrap.py
1.76
KB
-rw-r--r--
abc.py
890
B
-rw-r--r--
align.py
10.18
KB
-rw-r--r--
ansi.py
6.52
KB
-rw-r--r--
bar.py
3.19
KB
-rw-r--r--
box.py
8.86
KB
-rw-r--r--
cells.py
4.18
KB
-rw-r--r--
color.py
16.88
KB
-rw-r--r--
color_triplet.py
1.03
KB
-rw-r--r--
columns.py
6.96
KB
-rw-r--r--
console.py
79.33
KB
-rw-r--r--
constrain.py
1.26
KB
-rw-r--r--
containers.py
5.37
KB
-rw-r--r--
control.py
5.17
KB
-rw-r--r--
default_styles.py
7.44
KB
-rw-r--r--
diagnose.py
183
B
-rw-r--r--
emoji.py
2.44
KB
-rw-r--r--
errors.py
642
B
-rw-r--r--
file_proxy.py
1.58
KB
-rw-r--r--
filesize.py
2.45
KB
-rw-r--r--
highlighter.py
4.78
KB
-rw-r--r--
json.py
4.93
KB
-rw-r--r--
jupyter.py
2.95
KB
-rw-r--r--
layout.py
13.72
KB
-rw-r--r--
live.py
13.39
KB
-rw-r--r--
live_render.py
3.58
KB
-rw-r--r--
logging.py
10.61
KB
-rw-r--r--
markup.py
7.87
KB
-rw-r--r--
measure.py
5.13
KB
-rw-r--r--
padding.py
4.85
KB
-rw-r--r--
pager.py
838
B
-rw-r--r--
palette.py
3.32
KB
-rw-r--r--
panel.py
8.43
KB
-rw-r--r--
pretty.py
31.81
KB
-rw-r--r--
progress.py
35.08
KB
-rw-r--r--
progress_bar.py
7.58
KB
-rw-r--r--
prompt.py
11.04
KB
-rw-r--r--
protocol.py
1.37
KB
-rw-r--r--
region.py
166
B
-rw-r--r--
repr.py
4.21
KB
-rw-r--r--
rule.py
4.1
KB
-rw-r--r--
scope.py
2.78
KB
-rw-r--r--
screen.py
1.55
KB
-rw-r--r--
segment.py
23.36
KB
-rw-r--r--
spinner.py
4.21
KB
-rw-r--r--
status.py
4.32
KB
-rw-r--r--
style.py
25.85
KB
-rw-r--r--
styled.py
1.23
KB
-rw-r--r--
syntax.py
26.36
KB
-rw-r--r--
table.py
35.9
KB
-rw-r--r--
tabulate.py
1.66
KB
-rw-r--r--
terminal_theme.py
1.42
KB
-rw-r--r--
text.py
43.38
KB
-rw-r--r--
theme.py
3.54
KB
-rw-r--r--
themes.py
102
B
-rw-r--r--
traceback.py
25.33
KB
-rw-r--r--
tree.py
8.91
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : default_styles.py
from typing import Dict from .style import Style DEFAULT_STYLES: Dict[str, Style] = { "none": Style.null(), "reset": Style( color="default", bgcolor="default", dim=False, bold=False, italic=False, underline=False, blink=False, blink2=False, reverse=False, conceal=False, strike=False, ), "dim": Style(dim=True), "bright": Style(dim=False), "bold": Style(bold=True), "strong": Style(bold=True), "code": Style(reverse=True, bold=True), "italic": Style(italic=True), "emphasize": Style(italic=True), "underline": Style(underline=True), "blink": Style(blink=True), "blink2": Style(blink2=True), "reverse": Style(reverse=True), "strike": Style(strike=True), "black": Style(color="black"), "red": Style(color="red"), "green": Style(color="green"), "yellow": Style(color="yellow"), "magenta": Style(color="magenta"), "cyan": Style(color="cyan"), "white": Style(color="white"), "inspect.attr": Style(color="yellow", italic=True), "inspect.attr.dunder": Style(color="yellow", italic=True, dim=True), "inspect.callable": Style(bold=True, color="red"), "inspect.def": Style(italic=True, color="bright_cyan"), "inspect.error": Style(bold=True, color="red"), "inspect.equals": Style(), "inspect.help": Style(color="cyan"), "inspect.doc": Style(dim=True), "inspect.value.border": Style(color="green"), "live.ellipsis": Style(bold=True, color="red"), "layout.tree.row": Style(dim=False, color="red"), "layout.tree.column": Style(dim=False, color="blue"), "logging.keyword": Style(bold=True, color="yellow"), "logging.level.notset": Style(dim=True), "logging.level.debug": Style(color="green"), "logging.level.info": Style(color="blue"), "logging.level.warning": Style(color="red"), "logging.level.error": Style(color="red", bold=True), "logging.level.critical": Style(color="red", bold=True, reverse=True), "log.level": Style.null(), "log.time": Style(color="cyan", dim=True), "log.message": Style.null(), "log.path": Style(dim=True), "repr.ellipsis": Style(color="yellow"), "repr.indent": Style(color="green", dim=True), "repr.error": Style(color="red", bold=True), "repr.str": Style(color="green", italic=False, bold=False), "repr.brace": Style(bold=True), "repr.comma": Style(bold=True), "repr.ipv4": Style(bold=True, color="bright_green"), "repr.ipv6": Style(bold=True, color="bright_green"), "repr.eui48": Style(bold=True, color="bright_green"), "repr.eui64": Style(bold=True, color="bright_green"), "repr.tag_start": Style(bold=True), "repr.tag_name": Style(color="bright_magenta", bold=True), "repr.tag_contents": Style(color="default"), "repr.tag_end": Style(bold=True), "repr.attrib_name": Style(color="yellow", italic=False), "repr.attrib_equal": Style(bold=True), "repr.attrib_value": Style(color="magenta", italic=False), "repr.number": Style(color="cyan", bold=True, italic=False), "repr.bool_true": Style(color="bright_green", italic=True), "repr.bool_false": Style(color="bright_red", italic=True), "repr.none": Style(color="magenta", italic=True), "repr.url": Style(underline=True, color="bright_blue", italic=False, bold=False), "repr.uuid": Style(color="bright_yellow", bold=False), "repr.call": Style(color="magenta", bold=True), "repr.path": Style(color="magenta"), "repr.filename": Style(color="bright_magenta"), "rule.line": Style(color="bright_green"), "rule.text": Style.null(), "json.brace": Style(bold=True), "json.bool_true": Style(color="bright_green", italic=True), "json.bool_false": Style(color="bright_red", italic=True), "json.null": Style(color="magenta", italic=True), "json.number": Style(color="cyan", bold=True, italic=False), "json.str": Style(color="green", italic=False, bold=False), "json.key": Style(color="blue", bold=True), "prompt": Style.null(), "prompt.choices": Style(color="magenta", bold=True), "prompt.default": Style(color="cyan", bold=True), "prompt.invalid": Style(color="red"), "prompt.invalid.choice": Style(color="red"), "pretty": Style.null(), "scope.border": Style(color="blue"), "scope.key": Style(color="yellow", italic=True), "scope.key.special": Style(color="yellow", italic=True, dim=True), "scope.equals": Style(color="red"), "table.header": Style(bold=True), "table.footer": Style(bold=True), "table.cell": Style.null(), "table.title": Style(italic=True), "table.caption": Style(italic=True, dim=True), "traceback.error": Style(color="red", italic=True), "traceback.border.syntax_error": Style(color="bright_red"), "traceback.border": Style(color="red"), "traceback.text": Style.null(), "traceback.title": Style(color="red", bold=True), "traceback.exc_type": Style(color="bright_red", bold=True), "traceback.exc_value": Style.null(), "traceback.offset": Style(color="bright_red", bold=True), "bar.back": Style(color="grey23"), "bar.complete": Style(color="rgb(249,38,114)"), "bar.finished": Style(color="rgb(114,156,31)"), "bar.pulse": Style(color="rgb(249,38,114)"), "progress.description": Style.null(), "progress.filesize": Style(color="green"), "progress.filesize.total": Style(color="green"), "progress.download": Style(color="green"), "progress.elapsed": Style(color="yellow"), "progress.percentage": Style(color="magenta"), "progress.remaining": Style(color="cyan"), "progress.data.speed": Style(color="red"), "progress.spinner": Style(color="green"), "status.spinner": Style(color="green"), "tree": Style(), "tree.line": Style(), "markdown.paragraph": Style(), "markdown.text": Style(), "markdown.emph": Style(italic=True), "markdown.strong": Style(bold=True), "markdown.code": Style(bgcolor="black", color="bright_white"), "markdown.code_block": Style(dim=True, color="cyan", bgcolor="black"), "markdown.block_quote": Style(color="magenta"), "markdown.list": Style(color="cyan"), "markdown.item": Style(), "markdown.item.bullet": Style(color="yellow", bold=True), "markdown.item.number": Style(color="yellow", bold=True), "markdown.hr": Style(color="yellow"), "markdown.h1.border": Style(), "markdown.h1": Style(bold=True), "markdown.h2": Style(bold=True, underline=True), "markdown.h3": Style(bold=True), "markdown.h4": Style(bold=True, dim=True), "markdown.h5": Style(underline=True), "markdown.h6": Style(italic=True), "markdown.h7": Style(italic=True, dim=True), "markdown.link": Style(color="bright_blue"), "markdown.link_url": Style(color="blue"), } if __name__ == "__main__": # pragma: no cover import argparse import io from pip._vendor.rich.console import Console from pip._vendor.rich.table import Table from pip._vendor.rich.text import Text parser = argparse.ArgumentParser() parser.add_argument("--html", action="store_true", help="Export as HTML table") args = parser.parse_args() html: bool = args.html console = Console(record=True, width=70, file=io.StringIO()) if html else Console() table = Table("Name", "Styling") for style_name, style in DEFAULT_STYLES.items(): table.add_row(Text(style_name, style=style), str(style)) console.print(table) if html: print(console.export_html(inline_styles=True))
Close