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 details)
Built Distribution
File details
Details for the file beautiful-console-1.0.tar.gz
.
File metadata
- Download URL: beautiful-console-1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f73d22a3e250f83b6d2493e4c209b5d10171f5a27e379b848fccb757a14049 |
|
MD5 | 78832829e3e3333820ba9de7d38632c3 |
|
BLAKE2b-256 | a8394506a927de44ef3e0dc4fe4347aefd8a7600770864e92f27c7d3310cddb0 |
File details
Details for the file beautiful_console-1.0-py3-none-any.whl
.
File metadata
- Download URL: beautiful_console-1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15025307a9b8850246db730b8aea4debf5365677e6b2811281529cc576b105df |
|
MD5 | 4ef4c6866f05e1f126ef63ed1abea96d |
|
BLAKE2b-256 | 1fbf5c9dcbcbfb553c5bf311e9b71dd91065a65d805049507e39db6d8bf08ec8 |