Skip to main content

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.

image

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psgfiglet-5.0.0.tar.gz (126.1 kB view hashes)

Uploaded Source

Built Distribution

psgfiglet-5.0.0-py3-none-any.whl (124.5 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