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 with PyPI

The latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command

If you use the command python on your computer to invoke Python (Windows):

pip install --upgrade psgfiglet

If you use the command python3 on your computer to invoke Python (Linux, Mac):

pip3 install --upgrade psgfiglet

Using PIP with GitHub

You can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account. The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade https://github.com/PySimpleGUI/psgfiglet/zipball/main

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade https://github.com/PySimpleGUI/psgfiglet/zipball/main

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 PySimpleGUI.

Licensed under LGPL3.

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-6.1.tar.gz (455.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psgfiglet-6.1-py3-none-any.whl (457.6 kB view details)

Uploaded Python 3

File details

Details for the file psgfiglet-6.1.tar.gz.

File metadata

  • Download URL: psgfiglet-6.1.tar.gz
  • Upload date:
  • Size: 455.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for psgfiglet-6.1.tar.gz
Algorithm Hash digest
SHA256 fe1fe0b04b0e1219658bd146cce110a93d82b27658ea857da5f363630f0f336a
MD5 282b196655c3a6d5230bac9ccc0a4362
BLAKE2b-256 e9c2a1a0c1f5bee0b727965e440b62251e22f1b718c9fa44401fef173a43a094

See more details on using hashes here.

File details

Details for the file psgfiglet-6.1-py3-none-any.whl.

File metadata

  • Download URL: psgfiglet-6.1-py3-none-any.whl
  • Upload date:
  • Size: 457.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for psgfiglet-6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43e5fad77b41a59bc7dac1c6dc74cd89b6a9ac5c9f8ce99f99f51d541d9ccb58
MD5 aace9bc9d996ae75c967749b17cc04ce
BLAKE2b-256 147d195f16ec2d24ad949d2ccbbee8bee41b0bc501f07bff6598f1ab9ecc9c12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page