beautify the appearance of the terminal application.
Project description
kmy-beautify
beautify
allows us to add color to text, banners, menu options in the terminal application
how to use!
font - decoration - list banner name
Example
from beautify import Beautify,Loading
Bf = Beautify()
Ld = Loading()
menu = (
'home',
'about',
'contact',
'check for update'
)
# loading
Ld.loading(0.2)
Bf.menu(Ld.show(menu),color='cyan',font='fancy102')
# banner menu
print(Bf.banner('wolf1',color=Bf.colors(random=True)))
# text color
print(Bf.txtclr(str(menu),color=Bf.colors(random=True)))
parameters
ld = Loading()
ld.loading(timeout:int or float) # load time
ld.show('hello worlds') # loaded value
bf = Beautify()
bf.txtclr(
text:str,
color:str,
bg:str,
font:str,
chr_ignore:boolean,
sep:str,
decoration:str)
bf.colors(random:bool)
bf.banner(name:color,bg) --> str
# list banner name https://github.com/ExsoKamabay/kmy-beautify/blob/main/list_banners_name
bf.menu(
add_menu:list,
separator:str,
rw_num:bool,
color:str,
bg:str,
font:str)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
kmy_beautify-0.6.0-py3.9.egg
(4.1 kB
view hashes)
Close
Hashes for kmy_beautify-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eea19e892a331fbc5e029fb777b12b23cfe82551d5867d85a85cc7e7179f387 |
|
MD5 | e27c499bfc2700d72cd62696afe6a9e9 |
|
BLAKE2b-256 | 4d14bb050cf849e5c42e9d6e3d73a270b610cf8b9728d41b75a322e7199bb7e1 |