Skip to main content

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

Project description

ansicolor
=========

.. image:: https://pypip.in/v/ansicolor/badge.png
:target: https://pypi.python.org/pypi/ansicolor/

.. image:: https://travis-ci.org/numerodix/ansicolor.png?branch=master
:target: https://travis-ci.org/numerodix/ansicolor

.. image:: https://pypip.in/wheel/ansicolor/badge.png
:target: https://pypi.python.org/pypi/ansicolor/

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


Introduction
------------

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


Installation
------------

.. code:: bash

$ pip install ansicolor


Documentation
------------

Read the `documentation`_ on Read the Docs!


Going further
-------------

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

.. code:: bash

$ python -m ansicolor.demos --color
$ python -m ansicolor.demos --highlight
$ python -m ansicolor.demos --diff


.. _`documentation`: https://ansicolor.readthedocs.org/

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.8.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

ansicolor-0.1.8-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ansicolor-0.1.8.tar.gz.

File metadata

  • Download URL: ansicolor-0.1.8.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ansicolor-0.1.8.tar.gz
Algorithm Hash digest
SHA256 463472ebccb882df4ede20d8a0b3c34badd15955ec3bbd7a66c42a2801cdca7e
MD5 ffe95c0fe114b35ed8a7dc2bb214e73c
BLAKE2b-256 5c4faa5db86ace75dbe913cb20518d136f23dd2dd0f1c03cb453840265070374

See more details on using hashes here.

File details

Details for the file ansicolor-0.1.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ansicolor-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1d421e721590f73387fdf472d7b6f6c67ea44515b2822bfdd3276f910da88f6f
MD5 b983aa6f31e82dd40069c8e8fce4ae73
BLAKE2b-256 92c5d633a818209ea9f230eed861802801765295738904bd531c9503de4352e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page