Skip to main content

Create Figlets using a PySimpleGUI GUI and pyfiglet. A PySimpleGUI Demo Program.

Project description

Python GUIs for Humans

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.

psgfiglet

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

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

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


Download files

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

Source Distribution

psgfiglet-1.18.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

psgfiglet-1.18.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psgfiglet-1.18.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.8.0 tqdm/4.62.0 CPython/3.6.2

File hashes

Hashes for psgfiglet-1.18.0.tar.gz
Algorithm Hash digest
SHA256 b3c10552563ef90891a3bad14fd6748fd04ae6cc1b070e35435c3a6c2fb2430e
MD5 0b8eaf02516756440d574be970db6101
BLAKE2b-256 ec4de7f313c3e05fdf13c55c0764c1c0563cc89b4c0286e737c53ba2a980c413

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psgfiglet-1.18.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.8.0 tqdm/4.62.0 CPython/3.6.2

File hashes

Hashes for psgfiglet-1.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94d33e42fdb68f32ccfc41513645128ed9bc2d0206e831c6b808c7077fd31384
MD5 7bb2e634b41edddb2dbeddc53826ef4a
BLAKE2b-256 ea63b11cf88f7b6cdabc3fbafcaf2c350303329a05876128c0b9f4f8059ad704

See more details on using hashes here.

Supported by

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