Skip to main content

Banner Output Program

Project description

banner_baechu805

pyfiglet

    __                    __          ____  ____  ______
   / /_  ____ ____  _____/ /_  __  __( __ )/ __ \/ ____/
  / __ \/ __ `/ _ \/ ___/ __ \/ / / / __  / / / /___ \
 / /_/ / /_/ /  __/ /__/ / / / /_/ / /_/ / /_/ /___/ /
/_.___/\__,_/\___/\___/_/ /_/\__,_/\____/\____/_____/

show-banner

show-banner is a simple command that prints input text in banner format using figlet.

Requirements

figlet needs to be installed. figlet is a tool that converts text into stylish ASCII art banners.

Pyfiglet is also a library that can be used in python code:

from pyfiglet import Figlet
f = Figlet(font='slant')
print(f.renderText('text to render'))

or

import pyfiglet
f = pyfiglet.figlet_format("text to render", font="slant")
print(f)

If you have found some new fonts that you want to use, you can use the command line interface to install your font file as follows:

pyfiglet -L <font file>

The font file can be a ZIP file of lots of fonts or just a single font. Depending on how you installed pyfiglet, you may find that you need root access to install the font - e.g. sudo pyfiglet -L <font file>.

Ubuntu/Debian

sudo apt-get update
sudo apt-get install figlet

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

banner_baechu805-0.2.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

banner_baechu805-0.2.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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