Bring colors to your terminal.
Pastel: Bring colors to your terminal #####################################
Pastel is a simple library to help you colorize strings in your terminal.
It comes bundled with predefined styles:
info: greencomment: yellowquestion: black on cyanerror: white on red.. image:: https://raw.githubusercontent.com/sdispater/pastel/master/assets/screenshot.png
with_colors(False).cleo <https://github.com/sdispater/cleo>_... code-block:: python
>>> import pastel
>>> print(pastel.colorize('<info>Information</info>'))
'Information' # Green string by default
>>> print(pastel.colorize('<fg=red;options=bold>This is bold red</>'))
'This is bold red'
.. code-block::
pip install pastel