Banner fun
Project description
banner_lsiwh37249
pyfiglet
__ _
/ /__(_)___ ___
/ //_/ / __ `__ \
/ ,< / / / / / / /
/_/|_/_/_/ /_/ /_/
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 .
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
Built Distribution
Hashes for banner_lsiwh37249-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d81c8526af1d53dc03718a926ac161789bf26fecf6ac3b546f6914de9b8f7f6 |
|
MD5 | a48ef8e3fd0392c3b09763e19105f14e |
|
BLAKE2b-256 | 5785d23e1c61c7718836539bf329f0f6e16386bb157db273320469bc02ec013e |