A package for print beautiful logs in console.
Project description
Beautiful Console
installation :
install :
pip install beautiful-console
import :
from beautiful_console.beautiful_console import beautiful_console
defined colors :
black, red, green, yellow, blue, magenta, cyan, white
defined styles :
bold, italic, underline, underline_bold, overline,
strikethrough
beautiful_console()
Returns beautiful text.
# only the text-parameter is required, then you can use any option you need
print(beautiful_console(
"text",
"text_color", # color of text
"text_style", # style of text
"text_highlight_color", # color of background
"text_blink", # blinking text <True or False>
"continuous_color", # color of text when typing input
"continuous_style", # style of text when typing input
"continuous_highlight_color", # color of background when typing input
"continuous_blink", # blinking text when typing input <True or False>
"text_color_degree", # intensity of text color <0 or 1>
"text_highlight_color_degree", # intensity of background color <0 or 1>
"continuous_color_degree", # intensity of continuous color <0 or 1>
"continuous_highlight_color_degree", # intensity of continuous background color <0 or 1>
"get_input" # if this option is True, beautiful_console automatically generates a input-function (and returns input text)
))
Tips :
Tip : some things may not work on some consoles.
Tip : get_input can only be filled as a keyword argument (get_input=True).
send your feedbacks to : pourya90091@gmail.com
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.7.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for beautiful_console-0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d014cdc36063bfcc109e37eae750a90e50f384a3a2b2303c832c707bb73e25 |
|
MD5 | dcc484283c9e7df1bd3a891d8250f709 |
|
BLAKE2b-256 | 626002f4bb2a9f099279259b89d309f19db3af0050154943604c28c196ea10a7 |