From 5df072e3c2e98f57444f438789ecb97eec9cc88d Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 8 Nov 2026 21:37:16 +0800 Subject: [PATCH] docs: drop pyfiglet from Text Processing intro Co-Authored-By: Claude --- website/data/category_intros/text-processing.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/website/data/category_intros/text-processing.md b/website/data/category_intros/text-processing.md index efa8a35a..bb7ac257 100644 --- a/website/data/category_intros/text-processing.md +++ b/website/data/category_intros/text-processing.md @@ -6,7 +6,6 @@ How to choose: - Bytes in an unknown encoding: charset-normalizer - Fuzzy matching against a long list of strings: RapidFuzz - Diffs, or close matches with nothing to install: difflib -- ASCII-art banners: pyfiglet - Translations, plus dates and numbers in each user's locale: Babel - Syntax highlighting: Pygments - A grammar written in Python code: pyparsing, or parsy for small languages @@ -23,8 +22,6 @@ RapidFuzz [does fuzzy string matching with various string metrics](https://rapid difflib comes with Python and [compares sequences](https://docs.python.org/3/library/difflib.html), mostly lines of text, producing unified, context, and HTML diffs like the ones `diff` and `git diff` print. For a "did you mean" suggestion, [`get_close_matches()`](https://docs.python.org/3/library/difflib.html#difflib.get_close_matches) returns the best "good enough" matches for a word. -pyfiglet is [a full port of FIGlet into pure Python](https://github.com/pwaller/pyfiglet): it renders text in ASCII-art fonts, as in `pyfiglet.figlet_format("text", font="slant")`. - Babel [does two jobs](https://babel.pocoo.org/en/latest/intro.html): it builds gettext message catalogs without the GNU gettext tools for common tasks, and it formats dates, numbers, and locale names from CLDR data. Run catalogs through the `pybabel` command: [`extract` messages, `init` a catalog per language, `update` it, and `compile` it](https://babel.pocoo.org/en/latest/cmdline.html). Pygments is [a generic syntax highlighter](https://github.com/pygments/pygments) for code hosting, forums, wikis, and other apps that show source code. If you highlight code your users submit, its docs recommend you [stop the Pygments process after a short timeout](https://pygments.org/docs/security/#security-considerations).