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-0.9.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for beautiful_console-0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0712214675862dc4c386dfc07082841ded3b426748090b4f3191bc72e2920e92 |
|
MD5 | 36d7c47944a16514b21f99f4c431753e |
|
BLAKE2b-256 | a047c1ed229dc11305d45e9637b53bfa3ec70f3aa7f03743e845ec4fade215d6 |