Styles terminal text
Project description
YATTS - Yet Another Terminal Text Styler
Styles terminal text
Install
pip install yatts
Examples
from yatts import style
# Prints yatts with dark green text color
print(style('yatts', ['green', 'dark']))
# Prints yatts with red text color and dark yellow background
print(style('yatts', 'red', ['yellow', 'dark']))
# Prints yatts with white text color, blue background and italic text style
print(style('yatts', bgcolor='blue', italic=True))
Function Arguments
def style(
text,
color='white',
bgcolor=None,
bold=False,
italic=False,
underline=False,
striketrough=False
):
Color Palette
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
yatts-0.0.4.tar.gz
(33.4 kB
view hashes)
Built Distribution
yatts-0.0.4-py3-none-any.whl
(3.2 kB
view hashes)