Styles terminal text
Project description
YATTS - Yet Another Terminal Text Styler
Styles terminal text
Examples
# 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', ['yello', '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.3.tar.gz
(32.7 kB
view hashes)
Built Distribution
yatts-0.0.3-py3-none-any.whl
(3.0 kB
view hashes)