Create Figlets using a PySimpleGUI GUI and pyfiglet. A PySimpleGUI Demo Program.
Project description
Figlet Creation
Create Figlets easily using this application created using PySimpleGUI.
Installation
Old-school Straight Pip
pip install psgfiglet
pip via python -m pip
the python recommended way
If python
is your command
python -m pip install psgfiglet
If python3
is your command
python3 -m pip install psgfiglet
Usage
To run the program and create your own Figlets type from your command prompt:
psgfiglet
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
Windows Special Instructions
Want to make this install even more usable on Windows?
Head over to the PySimpleGUI Demo Programs and get the program: Demo_Make_Windows_Shortcut
Use this program to make a shortcut to psgfiglet that you can then put on your desktop or pin to your taskbar or ???
To do this, follow these steps:
- Open a command window (I promise, it's the last time you'll need to for this program)
- Type - where psgfiglet
- Copy the line that "where psgfiglet" gave you into the first input of the shortcut maker program
- Run psgfiglet
- Right click and choose "File Location"
- Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut maker
- Click "Create Shortcut"
This will create a shortcut in the same folder as the psgfiglet.exe file. You can safely move this shortcut file to any place you want (like to your desktop). Double-click the shortcut and psgfiglet should launch.
Uses Open Source Packages
pyfiglet
- "An implementation of figlet written in Python"
https://github.com/pwaller/pyfiglet The pyfiglet package was generously licensed with an MIT license.
.8888b oo dP dP
88 " 88 88
88d888b. dP dP 88aaa dP .d8888b. 88 .d8888b. d8888P
88' `88 88 88 88 88 88' `88 88 88ooood8 88
88. .88 88. .88 88 88 88. .88 88 88. ... 88
88Y888P' `8888P88 dP dP `8888P88 dP `88888P' dP
88 .88 .88
dP d8888P d8888P
PySimpleGUI
www.PySimpleGUI.com
Origin
oo dP
88
88d888b. dP dP .d8888b. dP dP 88d888b. dP 88 .dP
88' `88 88 88 88' `"" 88 88 88' `88 88 88888"
88 88 88. .88 88. ... 88. .88 88 88 88 88 `8b.
dP dP `8888P88 `88888P' `8888P88 dP dP dP dP `YP
.88 .88
d8888P d8888P
This program originated with user nycynik.with his ascii-font-processor project.
Then Mike from the PySimpleGUI project started with his project and modified it.
It's one of the many PySimpleGUI-based programs I use daily. It's the first in a series of "Application Releases" that are hosted on PyPI.org
Special Thanks
/__ ___/ \\ / /
/ / / __ ___ __ / ___ \\ / / ___
/ / // ) ) // ) ) // ) ) //\ \ \\/ / // ) ) // / /
/ / // / / // / / // / / // \ \ / / // / / // / /
/ / // / / ((___( ( // / / // \ \ / / ((___/ / ((___( ( ()()()
Paolo Amoroso - showed us the path to successfully releasing PySimpleGUI applications via PyPI with his Spacestills project.
MM'""""'YMM dP a8888a oo M""""""""M
M' .mmm. `M 88 d8' ..8b Mmmm mmmM
M MMMMMooM 88d888b. 88d888b. 88 .P 88 88d888b. dP .d8888b. MMMM MMMM
M MMMMMMMM 88' `88 88' `88 88 d' 88 88' `88 88 88' `"" MMMM MMMM
M. `MMM' .M 88 88 88 Y8'' .8P 88 88 88 88. ... MMMM MMMM
MM. .dM dP dP dP Y8888P dP dP dP `88888P' MMMM MMMM
MMMMMMMMMMM MMMMMMMMMM
Tanay Findley - Fantastic PySimpleGUI programmer that created a template to make these console-less PySimpleGUI Applications.
License
Licensed under an LGPL3 License
This PyPI Was Designed and Written By
Mike from PySimpleGUI.org - The pieces assembler.
Contributing
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.
Copyright
Copyright 2021 PySimpleGUI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for psgfiglet-1.20.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eebe0669cf5679d93961bf0d24d83d6be850526c2739311df108b2267d4cbb5 |
|
MD5 | 3625b4e29d7280b83e3cff04a52801a9 |
|
BLAKE2b-256 | d08fa559a71fb5a0802f7e85ff7ec0411f080652d6c86e2347ef4fee080f616f |