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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file connorama-0.0.3.tar.gz.

File metadata

  • Download URL: connorama-0.0.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.11

File hashes

Hashes for connorama-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d9f7b02b36943e59294c66b92759939e552555e2f8e8cce47336f14a500e2e0f
MD5 63c79cb70a4046789d24fe08e180406a
BLAKE2b-256 4b8fa1825381534e5aa7ce79719740c21ca2b033cc175cd790101c5dccdd61c8

See more details on using hashes here.

File details

Details for the file connorama-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: connorama-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.11

File hashes

Hashes for connorama-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 83146afc5cbec9407c538604a4ddd1a35f9efeb3ac45c50c04fb00a761444945
MD5 6a6c918efa2adfb2ed0574ca7cf849c3
BLAKE2b-256 aa1b447ff612d415c4d785b68f2f3731332c2ea2f3782701c7e42d4786c05a46

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