Skip to main content

An intuitive way to color terminal text

Project description

Terminology

Build Status

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

alt text

Color Text Background

from terminology import on_green, on_yellow, on_red

print(on_green("OK"), on_yellow("WARNING"), on_red("DANGER")

Output

alt text

Emphasize Text with Bold and Underlining

from terminology import 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

alt text

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

terminology-1.0.12.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terminology-1.0.12-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file terminology-1.0.12.tar.gz.

File metadata

  • Download URL: terminology-1.0.12.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.6.7 Darwin/18.7.0

File hashes

Hashes for terminology-1.0.12.tar.gz
Algorithm Hash digest
SHA256 20c710e96b80be21f0e45adf11af6fa9cd84e63cf13d9ff2a948d4fa3c9a4683
MD5 3db3845c9e036d64988dc2dee3da1d82
BLAKE2b-256 c5653fa9adbb1236efb6ad4d822eba36b3beba0975b88c71e5842919729c1e5e

See more details on using hashes here.

File details

Details for the file terminology-1.0.12-py2.py3-none-any.whl.

File metadata

  • Download URL: terminology-1.0.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.6.7 Darwin/18.7.0

File hashes

Hashes for terminology-1.0.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc66d338c2c037e8baefddf9bfafda2498266543e6555009a28738c8e435363b
MD5 5161ca18410c7958172917a0a316567a
BLAKE2b-256 47ffc18096d5bdf98517f5eff7e05386314eebe8c1375ae3dfbd864f44c4717e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page