pycolorterm

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


Keywords
pycolorterm
License
BSD-3-Clause
Install
pip install pycolorterm==0.2.1

Documentation

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 Bitdeli badge