$90 GRAYBYTE WORDPRESS FILE MANAGER $76

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/pygments/

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/pygments//console.py
"""
    pygments.console
    ~~~~~~~~~~~~~~~~

    Format colored console output.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

esc = "\x1b["

codes = {}
codes[""] = ""
codes["reset"] = esc + "39;49;00m"

codes["bold"] = esc + "01m"
codes["faint"] = esc + "02m"
codes["standout"] = esc + "03m"
codes["underline"] = esc + "04m"
codes["blink"] = esc + "05m"
codes["overline"] = esc + "06m"

dark_colors = ["black", "red", "green", "yellow", "blue",
               "magenta", "cyan", "gray"]
light_colors = ["brightblack", "brightred", "brightgreen", "brightyellow", "brightblue",
                "brightmagenta", "brightcyan", "white"]

x = 30
for dark, light in zip(dark_colors, light_colors):
    codes[dark] = esc + "%im" % x
    codes[light] = esc + "%im" % (60 + x)
    x += 1

del dark, light, x

codes["white"] = codes["bold"]


def reset_color():
    return codes["reset"]


def colorize(color_key, text):
    return codes[color_key] + text + codes["reset"]


def ansiformat(attr, text):
    """
    Format ``text`` with a color and/or some attributes::

        color       normal color
        *color*     bold color
        _color_     underlined color
        +color+     blinking color
    """
    result = []
    if attr[:1] == attr[-1:] == '+':
        result.append(codes['blink'])
        attr = attr[1:-1]
    if attr[:1] == attr[-1:] == '*':
        result.append(codes['bold'])
        attr = attr[1:-1]
    if attr[:1] == attr[-1:] == '_':
        result.append(codes['underline'])
        attr = attr[1:-1]
    result.append(codes[attr])
    result.append(text)
    result.append(codes['reset'])
    return ''.join(result)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 8.59 AM
root / root
0755
__pycache__
--
3 Mar 2026 8.59 AM
root / root
0755
filters
--
3 Mar 2026 8.59 AM
root / root
0755
formatters
--
3 Mar 2026 8.59 AM
root / root
0755
lexers
--
3 Mar 2026 8.59 AM
root / root
0755
styles
--
3 Mar 2026 8.59 AM
root / root
0755
LICENSE
1.3 KB
13 Feb 2026 12.40 PM
root / root
0644
__init__.py
2.913 KB
13 Feb 2026 12.40 PM
root / root
0644
__main__.py
0.345 KB
13 Feb 2026 12.40 PM
root / root
0644
console.py
1.678 KB
13 Feb 2026 12.40 PM
root / root
0644
filter.py
1.865 KB
13 Feb 2026 12.40 PM
root / root
0644
formatter.py
4.287 KB
13 Feb 2026 12.40 PM
root / root
0644
lexer.py
34.521 KB
13 Feb 2026 12.40 PM
root / root
0644
modeline.py
0.981 KB
13 Feb 2026 12.40 PM
root / root
0644
plugin.py
1.847 KB
13 Feb 2026 12.40 PM
root / root
0644
regexopt.py
3 KB
13 Feb 2026 12.40 PM
root / root
0644
scanner.py
3.02 KB
13 Feb 2026 12.40 PM
root / root
0644
sphinxext.py
7.794 KB
13 Feb 2026 12.40 PM
root / root
0644
style.py
6.27 KB
13 Feb 2026 12.40 PM
root / root
0644
token.py
6.08 KB
13 Feb 2026 12.40 PM
root / root
0644
unistring.py
61.727 KB
13 Feb 2026 12.40 PM
root / root
0644
util.py
9.796 KB
13 Feb 2026 12.40 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF