Skip to main content

Python library for using color text in cmd

Project description

Cmd colorizer

Python library for using color text in cmd

CodeFactor Codacy Badge PyPI version

Getting started

Installation:
pip install cmd_colorizer or pip install git+git://github.com/KoChan-s/cmd_colorizer.git

Import:

from cmd_colorizer import colored

Using

print(colored("Some text", "red", "blue", ["bold", "underline"]))

1 param - text that should be colored
2 param - color of the text (grey, red, green, yellow, blue, magenta, cyan, white)
3 param - background color (grey, red, green, yellow, blue, magenta, cyan, white)
4 param - attributes the text (bold, dark, underline, blink, reverse, concealed)

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

cmd-colorizer-0.0.4.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

cmd_colorizer-0.0.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file cmd-colorizer-0.0.4.tar.gz.

File metadata

  • Download URL: cmd-colorizer-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for cmd-colorizer-0.0.4.tar.gz
Algorithm Hash digest
SHA256 28390f6dfadd2d3dd5901fbf26abb2ae6ed17acccc26be5bf48db469250d66c0
MD5 56c76f1c59bebed6b72626d50707224d
BLAKE2b-256 ce8e1707af869763a0b8b763463c18e290a331906dc79ecff601c2d67cdbb0b0

See more details on using hashes here.

File details

Details for the file cmd_colorizer-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: cmd_colorizer-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for cmd_colorizer-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1adb90519ac0b0c1b77c4af8fddab8b806521abdbd569311a02b716bc0aa7e39
MD5 98280717753f8187f24d805452e2ad35
BLAKE2b-256 58172cac163f85c6348dc7ff6d7e02eb320abfa45e28779e6ade8a34481d3ad8

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