Simple Colors
Colorful output in terminal.
Installation
pip install simple-colors
Usage
from simple_colors import *
print(green('hello'))
print(green('hello', 'bold'))
print(green('hello', ['bold', 'underlined']))
Inlucded colors
- black
- red
- green
- yellow
- blue
- magenta
- cyan
Included styles:
- bold
- bright
- dim
- italic
- underlined
- blink
- reverse
CLI Usage
$ simple-colors -h
usage: simple-colors [-h]
[-s [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]]]
{black,red,green,yellow,blue,magenta,cyan} text
positional arguments:
{black,red,green,yellow,blue,magenta,cyan}
text text of file path
optional arguments:
-h, --help show this help message and exit
-s [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]], --style [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]]
Metadata
Release files for simple-colors 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_colors-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / simple_colors-0.1.5-py3-none-any.whl
| Download URL | simple_colors-0.1.5-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4ce007a2b9f10141282fa0af21b61e071a1b0794f52367a1fe9b31338e65a35
|
|
BLAKE2b-256 checksum How to use checksums |
0f07e6710827a51f6bb5ef671f84db98275b122ae3e382726041c823bead1a84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.1
|