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.10.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for terminology-1.0.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80621f95b43529d14e325f7d95a6d0f3eb0d1fb9276b8815748124d8659abe4c |
|
MD5 | a1c537a5154fa64ee5697c20ff77bf5c |
|
BLAKE2b-256 | c53b2ef6157caf707ffb4b684b7b51d9b75e0d658ef19c209b040c4b5a1e9821 |