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 details)
File details
Details for the file kmy_beautify-0.6.0-py3.9.egg
.
File metadata
- Download URL: kmy_beautify-0.6.0-py3.9.egg
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91fe091b3af101255a6b5bde10568928f0a439b02b54d5ce50e591d98e30b0f |
|
MD5 | 903898894a630dea95436ec86fe38c61 |
|
BLAKE2b-256 | 7844946c5683e5befda91da63595020bc2ffa2daf6bc781c46eeef79ceb454ef |
File details
Details for the file kmy_beautify-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: kmy_beautify-0.6.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eea19e892a331fbc5e029fb777b12b23cfe82551d5867d85a85cc7e7179f387 |
|
MD5 | e27c499bfc2700d72cd62696afe6a9e9 |
|
BLAKE2b-256 | 4d14bb050cf849e5c42e9d6e3d73a270b610cf8b9728d41b75a322e7199bb7e1 |