/usr/lib/python3/dist-packages/ansi/colour/fg.py is in python3-ansi 0.1.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #pylint: disable=C0103,R0903
from ansi.colour.base import Graphic
from ansi.colour.fx import bold
# ECMA-048 standard names
black = Graphic('30')
red = Graphic('31')
green = Graphic('32')
yellow = Graphic('33')
blue = Graphic('34')
magenta = Graphic('35')
cyan = Graphic('36')
white = Graphic('37')
default = Graphic('39')
# ECMA-048 bold variants
boldblack = bold + black
boldred = bold + red
boldgreen = bold + green
boldyellow = bold + yellow
boldblue = bold + blue
boldmagenta = bold + magenta
boldcyan = bold + cyan
boldwhite = bold + white
# Convenience wrappers
brown = yellow # Not in ANSI/ECMA-048 standard
grey = white # Not in ANSI/ECMA-048 standard
gray = white # US English
darkgrey = boldblack
darkgray = boldblack # US English
brightred = boldred
brightgreen = boldgreen
brightyellow = boldyellow
brightbrown = boldyellow # Not in ANSI/ECMA-048 standard
brightblue = boldblue
brightmagenta = boldmagenta
brightcyan = boldcyan
brightwhite = boldwhite
brightgrey = boldwhite # Not in ANSI/ECMA-048 standard
brightgray = boldwhite # Us English
|