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)
Built Distribution
Close
Hashes for beautiful_console-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15025307a9b8850246db730b8aea4debf5365677e6b2811281529cc576b105df |
|
MD5 | 4ef4c6866f05e1f126ef63ed1abea96d |
|
BLAKE2b-256 | 1fbf5c9dcbcbfb553c5bf311e9b71dd91065a65d805049507e39db6d8bf08ec8 |