PyColorTerm

https://badge.fury.io/py/pycolorterm.png https://travis-ci.org/dnmellen/pycolorterm.png?branch=master https://coveralls.io/repos/dnmellen/pycolorterm/badge.png https://pypip.in/d/pycolorterm/badge.png

PyColorTerm allows you to write colored and styled lines out in the terminal from Python and in a pythonic way

Features

  • Get your line prints pretty with color and style formatting
  • Python 3 ready!
  • Pythonic

Getting started

Installation

$ pip install pycolorterm

Usage

from pycolorterm.pycolorterm import print_pretty

print_pretty('This is <BOLD>awesome<END> <FG_RED>because<END> you can <UNDERSCORE>mix<END> <BG_BLUE>many styles easily<END>')

Result

https://raw.github.com/dnmellen/pycolorterm/master/pycolorterm_example.png

Did you like it?

gittip
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.