Skip to main content

to stylized terminal text

Project description

Aesthetic TEXT

Give a beautiful look of your text in the terminal.

link to access to the pypi page : https://pypi.org/project/aesthetic-text/0.2.0/

Installation

$ pip install aesthetic_text

Usage

from aesthetic_text import aesthetic_text as aesthetic

# print a text with a style
# style: bold, italic, underline, strikethrough, reverse, conceal, crossed
print(f"{aesthetic.style.bold}{aesthetic.style.underline}" + "Hello World" + f"{aesthetic.reset}")

# print a text with a color
# colors: black, red, green, yellow, blue, magenta, cyan, white...
print(f"{aesthetic.color.red}" + "Hello World" + f"{aesthetic.reset}")

# print a text with style and color
print(f"{aesthetic.style.bold}{aesthetic.color.red}" + "Hello World" + f"{aesthetic.reset}

# print a text with icon
print(f"{aesthetic.icon.check}" + "the task has been completed successfully" + f"{aesthetic.reset}")

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

aesthetic_text-0.2.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

aesthetic_text-0.2.0-py3-none-any.whl (2.4 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