U
    9/M                     @   sx  d Z ddlmZ ddlZddgZdZeeeddd	d
dd	ddgee	ddZ
e
d	= eeeddddddddgee	ddZeeeddddddd d!gee	d"d#Zd$ZdLd%dZdMd&dZed'krted(ed)  ed* ed+d ed,d ed-d ed.d ed/d ed0d ed1d  ed2d! ed3 ed4 ed5dd6 ed7dd6 ed8dd6 ed9dd6 ed:dd6 ed;dd6 ed<dd6 ed=ddd> ed3 ed? ed@ddgdA edBddgdA edCdd
gdA edDddgdA edEddgdA edFddgdA edGd dd
dgdA edHd!dddgdA ed3 edI edJddd
g edKdddg dS )Nz.ANSII Color formatting for output in terminal.    )print_functionNcoloredcprint)   r   r   bolddark 	underlineblinkreverse	concealedr   	   on_greyon_redon_green	on_yellowon_blue
on_magentaon_cyanon_white(   0   greyredgreenyellowbluemagentacyanwhite   &   z[0mc                 C   sp   t ddkrld}|dk	r*|t| | f } |dk	rB|t| | f } |dk	rd|D ]}|t| | f } qN| t7 } | S )a  Colorize text.

    Available text colors:
        red, green, yellow, blue, magenta, cyan, white.

    Available text highlights:
        on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.

    Available attributes:
        bold, dark, underline, blink, reverse, concealed.

    Example:
        colored('Hello, World!', 'red', 'on_grey', ['blue', 'blink'])
        colored('Hello, World!', 'green')
    ANSI_COLORS_DISABLEDNz[%dm%s)osgetenvCOLORS
HIGHLIGHTS
ATTRIBUTESRESET)textcoloron_colorattrsfmt_strattr r/   I/var/www/html/UseVoiceDocker/env/lib/python3.8/site-packages/termcolor.pyr   V   s    c                 K   s   t t| |||f| dS )zFPrint colorize text.

    It accepts arguments of print function.
    N)printr   )r)   r*   r+   r,   kwargsr/   r/   r0   r   v   s    __main__zCurrent terminal type: %sZTERMzTest basic colors:z
Grey colorz	Red colorzGreen colorzYellow colorz
Blue colorzMagenta colorz
Cyan colorzWhite colorzN------------------------------------------------------------------------------zTest highlights:zOn grey color)r+   zOn red colorzOn green colorzOn yellow colorzOn blue colorzOn magenta colorzOn cyan colorzOn white color)r*   r+   zTest attributes:zBold grey color)r,   zDark red colorzUnderline green colorzBlink yellow colorzReversed blue colorzConcealed Magenta colorz!Bold underline reverse cyan colorz Dark blink concealed white colorzTest mixing:zUnderline red on grey colorzReversed green on red color)NNN)NNN)__doc__
__future__r   r#   __ALL__VERSIONdictlistzipranger'   r&   r%   r(   r   r   __name__r1   r$   r/   r/   r/   r0   <module>   s   



 
	








