Skip to main content

A package for print beautiful logs in console.

Project description

Beautiful Console

Installation

Install

pip install beautiful-console

Import

from beautiful_console import beautiful_console as bc

Defined Colors

black, red, green, yellow, blue, magenta, cyan, white

Defined Styles

bold, italic, underline, underline_bold, overline, strikethrough


beautiful_console() Parameters

# Only the text-parameter is required, then you can use any option you need.

"""
text: A text.
text_color: Color of the text.
text_style: Style of the text.
text_highlight_color: Color of the text background.
text_blink: Blinking the text <True or False>.
continuous_color: Color of continuous text (when typing input).
continuous_style: Style of continuous text.
continuous_highlight_color: Color of continuous text background.
continuous_blink: Blinking continuous text <True or False>.
text_color_degree: Intensity of the text color <0 or 1>
text_highlight_color_degree: Intensity of text background color <0 or 1>
continuous_color_degree: Intensity of continuous text color <0 or 1>
continuous_highlight_color_degree: Intensity of continuous text background color <0 or 1>
get_input: To use continuous text options it must be True, then beautiful_console() handle a input-function and returns input value.
"""

Tips

Tip : Some things may not work on some consoles.

Tip : get_input can only be filled as a keyword argument (get_input=True).


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

beautiful-console-1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

beautiful_console-1.0-py3-none-any.whl (4.3 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