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)
- Host: GitHub
- URL: https://github.com/v2e4lisp/termcolor2
- Owner: v2e4lisp
- License: mit
- Created: 2013-09-16T08:11:36.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2020-09-13T07:18:35.000Z (almost 6 years ago)
- Last Synced: 2025-12-13T07:14:18.699Z (6 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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"])