Skip to main content

A library to produce ansi color output and colored highlighting and diffing

Project description

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


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


$ pip install ansicolor

Getting started

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansicolor-0.1.6.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

ansicolor-0.1.6-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page