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
"highlight_color", # color of background
"continuous_color", # color of text when typing input
"style", # style of text
"blink", # blinking text <True or False>
"text_color_degree", # intensity of text color <0 or 1>
"highlight_color_degree", # intensity of background color <0 or 1>
"continuous_color_degree", # intensity of continuous 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.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for beautiful_console-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10448e0516bf4b84f21f0dc2e6861ff0ccde0372c6925649bb8f860d849ab392 |
|
MD5 | c42adbebb7bf4bb41682ed6d522a7eda |
|
BLAKE2b-256 | 8400ef936c19126e3ff54291dfb2e49f19505327624c7c8eba02437b5aea3a43 |