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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for banner_baechu805-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68eb78d2e6a760997bf590b3e0a302ad1efac91e57b0590b2f0d02b8c7bad409 |
|
MD5 | a88b5ab01d303253056f5168335dbd30 |
|
BLAKE2b-256 | 1697eea7ba121e05ee0b42e0e787c209d7f00843fcae82c0f40037d6616caa3f |