A simple tool enabling easy colouring of terminal outputs
Project description
Colour Splash
A simple tool enabling easy colouring of terminal outputs
Download
Using PIP to use a imported Module
pip install colour_splash
Manually to embed into a project
git clone https://github.com/lachlan2357/python-colour-splash
into your project directory
Usage
Include import colour_splash
at the top of your file
Functions
colour_splash.colour()
Changes the foreground, background or both-grounds of text
Parameters:
text
the text you wish to be colouredforeground
(optional): the string value of the name of the colour you wish to use as the foreground (text) colourbackground
(optional): the string value of the name of the colour you wish to use as the background (highlighted) colour
colour_splash.style()
Changes the style of text
Parameters:
text
: the text you wish to be styledstyle
(optional): the string value of the name of the style you wish to use
colour_splash.help()
Lists colours and styles and how they appear on your system
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
colour_splash-0.1.0.tar.gz
(26.2 kB
view hashes)
Built Distribution
Close
Hashes for colour_splash-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9963fb837d61cebddc340926e9c292e9bda144db1a94da49d58c612ca5aceed5 |
|
MD5 | 7ba3fcc2aef1f35a57da3175adbdabba |
|
BLAKE2b-256 | f5b070f5df8b4e70e444c2c7171b698b2d2422c248873c5a3bce2607d503f034 |