mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-10 01:34:28 -06:00
docs: drop pyfiglet from Text Processing intro
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user