Banner Output Program
Project description
banner_hahahellooo
pyfiglet
__ __ __ ____
/ /_ ____ _/ /_ ____ _/ /_ ___ / / /___ ____ ____
/ __ \/ __ `/ __ \/ __ `/ __ \/ _ \/ / / __ \/ __ \/ __ \
/ / / / /_/ / / / / /_/ / / / / __/ / / /_/ / /_/ / /_/ /
/_/ /_/\__,_/_/ /_/\__,_/_/ /_/\___/_/_/\____/\____/\____/
Synopsis
pyfiglet is a full port of FIGlet (http://www.figlet.org/) into pure python. It takes ASCII text and renders it in ASCII art fonts (like the title above, which is the 'block' font).
Usage
You can use pyfiglet in one of two ways. First, it operates on the
commandline as C figlet does and supports most of the same options.
Run with --help
to see a full list of tweaks. Mostly you will only
use -f
to change the font. It defaults to standard.flf.
tools/pyfiglet 'text to render'
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>
.
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
Built Distribution
Hashes for banner_hahahellooo-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e428f275cfb03e0937c55d7745789f6147ed2701c6b65a4ba872f11b869f57 |
|
MD5 | 07f144d23ac43166541f26176c86f829 |
|
BLAKE2b-256 | fb72fca4075983e348f4ba83adc15400feebac5144803a6b04ea63fefa685162 |