Pure-python FIGlet implementation
Low maintenance activity. Last release 16 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pyfigletpyfiglet
_|_| _| _| _|
_|_|_| _| _| _| _|_|_| _| _|_| _|_|_|_|
_| _| _| _| _|_|_|_| _| _| _| _| _|_|_|_| _|
_| _| _| _| _| _| _| _| _| _| _|
_|_|_| _|_|_| _| _| _|_|_| _| _|_|_| _|_|
_| _| _|
_| _|_| _|_|
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).
FAQ
-
Q: Why? WHY?!!
A: I [cjones] was bored. Really bored.
-
Q: What the hell does this do that FIGlet doesn't?
A: Not much, except allow your font collection to live in one big zipfile. The point of this code is to embed dynamic figlet rendering in Python without having to execute an external program, although it operates on the commandline as well. See below for USAGE details. You can think of this as a python FIGlet driver.
-
Q: Does this support kerning/smushing like FIGlet?
A: Yes, yes it does. Output should be identical to FIGlet. If not, this is a bug, which you should report to me!
-
Q: Can I use/modify/redstribute this code?
A: Yes, under the terms of the MIT (see LICENSE below).
-
Q: I improved this code, what should I do with it?
A: You can submit changes to https://github.com/pwaller/pyfiglet/pulls. If you make changes to the kerning/mushing/rendering portion, PLEASE test it thoroughly. The code is fragile and complex.
-
Q: Where did my font go?
A: It turns out that we didn't have distribution rights for some of the fonts and so we had to remove them. Full details of the change and why we did it are in https://github.com/pwaller/pyfiglet/issues/59.
-
Q: Where can I find these and other fonts?
: Do a quick search for "figlet fonts" on your favourite search engine should give you what you need. However, if you are looking for the specific removed fonts, please go to .