Create Figlets easily using this application created using PySimpleGUI.
Old-school Straight Pip
pip install psgfiglet
python -m pip the python recommended way
python is your command
python -m pip install psgfiglet
python3 is your command
python3 -m pip install psgfiglet
To run the program and create your own Figlets type from your command prompt:
About - What is a Figlet?
A Figlet is a text based way to add large block text to your code or chats. There are a variety of "Fonts" available that you'll find listed along the left side of the screen.
To use in your code
The easiest way to is make a multiline string in your code using triple quotes:
''' This is a multiline string Line 2 '''
You can simply paste your Figlet into one of these multiline comments. They work well at breaking up your code into chunks
''' oo 88d8b.d8b. .d8888b. dP 88d888b. 88'`88'`88 88' `88 88 88' `88 88 88 88 88. .88 88 88 88 dP dP dP `88888P8 dP dP dP ''' def main(): x = 20
Licensed under an LGPL3 License
Origins and Underlying Package
Origination of GUI
The code has roots in a program developed by @nycynik that you'll find in the repo:
@nycynik has kindly licensed his code using an MIT license.
Underlying Package Required
Without pyfiglet none of this would be possible. It's at the core of the program since it's what actually makes the figlet. The PySimpleGUI portion is a front-end integration. Information is collected from the user, the pyfiglet package is called to convert the input string and then the results are displayed in the GUI.
They were kind enough to license this code using an MIT license.
pyfiglet - https://github.com/pwaller/pyfiglet
If you pip install
psgfiglet it will also install pyfiglet for you.
Of course you'll need PySimpleGUI as well.
Like the PySimpleGUI project, this project is currently licensed under an open-source license, the project itself is structured like a proprietary product. Pull Requests are not accepted.
- Updated readme with credit for initial code and package used added
- Changed the .py file to be psgfiglet.py in keeping with the new naming convention for projects released to PyPI with the
psgprefix. Previously used gui.py generically.
Copyright 2021, 2022 PySimpleGUI