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
from terminology import in_bold, underlined
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.16.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file terminology-1.0.16.tar.gz
.
File metadata
- Download URL: terminology-1.0.16.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.7 Darwin/19.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8e89dfc904e1fbe2d95259301d1ddee4ae2a0ab59d9659c1e16196a278d350 |
|
MD5 | 0f414d38e088ed16ac8bbe67993bd896 |
|
BLAKE2b-256 | ede864bdb928ed8f188b64f80a8364fc351d548e222c8b26d1bef51ce2550d9e |
File details
Details for the file terminology-1.0.16-py2.py3-none-any.whl
.
File metadata
- Download URL: terminology-1.0.16-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.7 Darwin/19.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71b5487aeed4caae04b72685bf6289297c8ca9879e761258e432adfc3282420 |
|
MD5 | 771042555568be98f5781a9c90701f8a |
|
BLAKE2b-256 | d3677e8d40fda7c17d5f0dc5a6bbbab038531d54267caad41f9b0cba56a8e5ae |