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.

Files for cmd-colorizer, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cmd_colorizer-0.0.4-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cmd-colorizer-0.0.4.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page