An open API service indexing awesome lists of open source software.

https://github.com/v2e4lisp/termcolor2

simple wrapper for termcolor (cli colored stirng)
https://github.com/v2e4lisp/termcolor2

Last synced: 3 months ago
JSON representation

simple wrapper for termcolor (cli colored stirng)

Awesome Lists containing this project

README

          

A simple wrapper for termcolor
==============================

install
=======

.. code:: bash

pip install termcolor2

useage
======

.. code:: python

from termcolor2 import c

# termcolor2
print c("hello").red.on_white.blink.underline.dark

# --- this is equal to the following ---

# termcolor
print colored("hello", "red", "on_white", ["blink", "underline", "dark"])