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.

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 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.0.tar.gz (455.7 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.0-py3-none-any.whl (457.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for psgfiglet-6.0.tar.gz
Algorithm Hash digest
SHA256 6e85ccb4d9aac7cb372f8731f5401576d8ae23a9e7badc227177478839b261b6
MD5 d5e6f59897d0ac7d86e910d6e1c21558
BLAKE2b-256 e3613537b62ea1f7ec634c2faac42bc747d11467cdac70019de02e8e69c8467a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psgfiglet-6.0-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.6

File hashes

Hashes for psgfiglet-6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b824cbd385d598526a9490f4cc462bd06e00fb77685e93bab0b2d0a1144324
MD5 8479db37fd29b1288ebe05edfebab206
BLAKE2b-256 9f271f16348bae0d20a97d48a9a552968ef272ce5c846c9d928d6cdfe576114d

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