Skip to main content

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


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)

Uploaded Source

kmy_beautify-0.6.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page