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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ansi_colours-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6218b2be8040b3e2d0f5c123403355786662cf62c3fc4eac3c0e36606918d51 |
|
MD5 | 9c656b5e925135459fe9df10a0228f42 |
|
BLAKE2b-256 | 10615c283cc1bfb5ef791e7a496be5a15aac39f75463c2df43921aea531ed795 |