Skip to main content

colours for python terminal

Project description

Connorama

colours for python terminal includes text and background colouring also includes style/font formatting

Instructions

  1. Install:
pip install connorama
  1. Initialise in project:
from connorama import Text, Back, Style
  1. Use the features!
print(Text.red + Back.light_black + Style.bold + Style.underlined + "Hello world!" + Style.RESET_ALL)

Options

Text + Back

black, white, red, green, yellow, blue, magenta, cyan
light_black, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan

RESET: removes any colouring

Style

bold: thicker text
dim: dim text (same thickness as normal)
underlined: underline under the text
reverse: swithches the text's Text and Back colours
hidden: hidden text

RESET_ALL: removes Text, Back and Style RESET_(style): removes the specific style

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

connorama-0.0.3.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

connorama-0.0.3-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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