Skip to main content

Library of static methods for colouring text in terminal output

Project description

.. image:: https://codecov.io/gh/sarcoma/Python_ANSI_Colours/branch/master/graph/badge.svg :target: https://codecov.io/gh/sarcoma/Python_ANSI_Colours .. image:: https://travis-ci.org/sarcoma/Python_ANSI_Colours.svg?branch=master :target: https://travis-ci.org/sarcoma/Python_ANSI_Colours

Template

Static methods to wrap text in ANSI Colours.

Installation

Install by running:

.. code:: python

pip install ansi_colours

::

Usage

.. code:: python

from ansi_colours import AnsiColours as colour

# Red text

colour.red("I'm red")

::

License

The project is licensed under the MIT license.

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

ansi_colours-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

ansi_colours-1.0.0-py2.py3-none-any.whl (2.9 kB view hashes)

Uploaded py2 py3

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