Skip to content
A library to produce ansi color output and colored highlighting and diffing
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ansicolor
docs
tests
.gitignore
.travis.yml
LICENSE
README.rst
build_docs.sh
dev-requirements.txt
setup.cfg
setup.py
tox.ini

README.rst

ansicolor

https://badge.fury.io/py/ansicolor.png https://travis-ci.org/numerodix/ansicolor.png?branch=master https://pypip.in/wheel/ansicolor/badge.png https://pypip.in/license/ansicolor/badge.png

Python version support: CPython 2.6, 2.7, 3.2, 3.3, 3.4 and PyPy.

Introduction

ansicolor is a library that makes it easy to use ansi color markup in command line programs.

Installation

$ pip install ansicolor

Documentation

Read the documentation on Read the Docs!

Going further

Take a look at the demos to see what's possible.

$ python -m ansicolor.demos --color
$ python -m ansicolor.demos --highlight
$ python -m ansicolor.demos --diff
Something went wrong with that request. Please try again.