This project is a simple Python application that generates ASCII art from text using the pyfiglet
library. It also incorporates colorization using the colorama
library to make the output more visually appealing. The application supports customization of the font and color of the ASCII art.
To install the required libraries, run the following commands:
pip install pyfiglet
pip install colorama
Here's a basic example of how to use the application:
from pyfiglet import Figlet
from colorama import Fore, Style, init
# Initialize colorama
init(autoreset=True)
# Create a Figlet object with a specific font
f = Figlet(font='slant')
# Generate ASCII art with color
ascii_banner = f.renderText("Hello, World!")
print(Fore.GREEN + ascii_banner + Style.RESET_ALL)
You can customize the font and color of the ASCII art by modifying the Figlet
object and the Fore
color in the print
statement.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find any bugs or have suggestions for improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
__ __ ____ _ __ __ ____
/ / / /__ / / /___ | | / /___ _____/ /___/ / /
/ /_/ / _ \/ / / __ \ | | /| / / __ \/ ___/ / __ / /
/ __ / __/ / / /_/ / | |/ |/ / /_/ / / / / /_/ /_/
/_/ /_/\___/_/_/\____( ) |__/|__/\____/_/ /_/\__,_(_)b