An intuitive way to color terminal text
Project description
Terminology
A simple way to color terminal text! ❤️ 💛 💚 💙 💜
Color Text
from terminology import in_red, in_yellow, in_green, in_blue, in_magenta
print(in_red("it's"), in_yellow("a"), in_green("double"), in_blue("rainbow"), in_magenta("dude..."))
Output
Color Text Background
from terminology import on_green, on_yellow, on_red
print(on_green("OK"), on_yellow("WARNING"), on_red("DANGER")
Output
Emphasize Text with Bold and Underlining
print(in_bold("Chapter 1"))
print("- ", underlined("Section i"))
print("- ", underlined("Section ii"), "\n")
print(in_bold("Chapter 2"))
print("- ", underlined("Section i"), '\n')
Output
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
terminology-1.0.11.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for terminology-1.0.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4dfec6a68546b0a4a076aedb495bec4ae49539a53ee574068c8098b4eba0fb |
|
MD5 | 94495e92fbe4665b939a7b04c9a03df1 |
|
BLAKE2b-256 | 9a1c95d454ce3dfb03e2217b473c84011d98839af95f8f0fe295f97221ef33c1 |