Create Figlets using a PySimpleGUI GUI and pyfiglet. A PySimpleGUI Demo Program.
Project description
psgfiglet
A PySimpleGUI Application
Create Figlets
______ _ _ _
| ____(_) | | | |
| |__ _ __ _| | ___| |_ ___
| __| | |/ _` | |/ _ \ __/ __|
| | | | (_| | | __/ |_\__ \
|_| |_|\__, |_|\___|\__|___/
__/ |
|___/
_ ___ __ _ _ ___ _____
| |__ _ _ / _ \_ _/ _\(_)_ __ ___ _ __ | | ___ / _ \/\ /\ \_ \
| '_ \| | | | / /_)/ | | \ \ | | '_ ` _ \| '_ \| |/ _ \/ /_\/ / \ \ / /\/
| |_) | |_| | / ___/| |_| |\ \| | | | | | | |_) | | __/ /_\\\ \_/ /\/ /_
|_.__/ \__, | \/ \__, \__/|_|_| |_| |_| .__/|_|\___\____/ \___/\____/
|___/ |___/ |_|
Features
- Retro ASCII ART
- Create big block letters composed of smaller characters
- Choose from dozens of fonts
- Copy and paste into your documents and code
Installation
Using PIP
pip install psgfiglet
Installing using python -m pip
. The python recommended way:
If you use the command python
on your computer to invoke Python (Windows):
python -m pip install --upgrade --no-cache-dir "git+https://github.com/PySimpleGUI/psgfiglet.git#egg=psgfiglet"
If you use the command python3
on your computer to invoke Python (Linux, Mac):
python3 -m pip install --upgrade --no-cache-dir "git+https://github.com/PySimpleGUI/psgfiglet.git#egg=psgfiglet"`
Usage
Once installed, launch psgfiglet by typing the following in your command line:
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
License & Copyright
Copyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.
This is a free-to-use "Utility" and is licensed under the PySimpleGUI License Agreement, a copy of which is included in the license.txt file and also available at https://pysimplegui.com/eula.
Please see Section 1.2 of the license regarding the use of this Utility, and see https://pysimplegui.com/faq for any questions.
Contributing
We are happy to receive issues describing bug reports and feature requests! If your bug report relates to a security vulnerability, please do not file a public issue, and please instead reach out to us at issues@PySimpleGUI.com.
We do not accept (and do not wish to receive) contributions of user-created or third-party code, including patches, pull requests, or code snippets incorporated into submitted issues. Please do not send us any such code! Bug reports and feature requests should not include any source code.
If you nonetheless submit any user-created or third-party code to us, (1) you assign to us all rights and title in or relating to the code; and (2) to the extent any such assignment is not fully effective, you hereby grant to us a royalty-free, perpetual, irrevocable, worldwide, unlimited, sublicensable, transferrable license under all intellectual property rights embodied therein or relating thereto, to exploit the code in any manner we choose, including to incorporate the code into PySimpleGUI and to redistribute it under any terms at our discretion.
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
File details
Details for the file psgfiglet-5.0.0.tar.gz
.
File metadata
- Download URL: psgfiglet-5.0.0.tar.gz
- Upload date:
- Size: 126.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0765db57d3fb69bcce3c0658dc5feaec25afdebe5d926957480a0ddae13fda4 |
|
MD5 | 3206bcc13e4ba1ad0769592f6ea01259 |
|
BLAKE2b-256 | ed3b1133cc819e6b0a68cd0a62fbd067c3e012b1d8c304690e9ea17b5c567709 |
File details
Details for the file psgfiglet-5.0.0-py3-none-any.whl
.
File metadata
- Download URL: psgfiglet-5.0.0-py3-none-any.whl
- Upload date:
- Size: 124.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb40f4cb96a0dbd27adbbe67d1a68658f5936203f7fe21bde217540f9fc56ff |
|
MD5 | 9408142028854c4030589019add9e764 |
|
BLAKE2b-256 | 2581d13606338dd4e853f9eb7aa79e9cc8935d078f80a409c6e557248da7926a |