Skip to content

beautify and make it easier to make the appearance of the terminal application.

License

Notifications You must be signed in to change notification settings

ExsoKamabay/kmy-beautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kmy-beautify

beautify allows us to add color to text, banners, menu options in the terminal application

pip install kmy-beautify

https://pypi.org/project/kmy-beautify/

👉 Tutorial! 👈

font - decoration - list banner name

Example

from beautify import Beautify,Loading
from time import sleep as timeout

Bf = Beautify()
Ld = Loading()

menu_options = (
    'home',
    'about',
    'contact',
    'check for update'
)

# loading menu_options
Ld.loading(0.2)
timeout(3)
Bf.menu(Ld.show(menu_options),color='cyan',font='fancy102')

# banner menu_options
print(Bf.banner('wolf1',color=Bf.colors(random=True)))

# text color
print(Bf.txtclr(str(menu_options),color=Bf.colors(random=True)))

parameters

ld = Loading()
ld.loading(timeout:int or float) # time load
ld.show('hello world') # 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)

About

beautify and make it easier to make the appearance of the terminal application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages