rich-pyfiglet
A library that wraps PyFiglet with the Rich library for rendering ASCII art in the terminal.
What it is and what it does
Rich-Pyfiglet wraps the PyFiglet ASCII art generator with Rich's terminal styling and color system. It provides a RichFiglet class that integrates seamlessly into Rich scripts, plus a standalone CLI for shell scripting and quick testing. The library handles terminal width automatically, word-wraps text, and supports color gradients (vertical or horizontal) and built-in animation modes. Borders and padding are calculated correctly to avoid rendering issues at different terminal sizes.
The package is designed for developers who want to add styled ASCII banners to terminal applications or scripts without managing font rendering and color formatting manually. It depends on pyfiglet for font rendering, rich for terminal output, and rich-click for CLI argument parsing. The fonts are type-hinted for editor auto-completion.
Use it for:
- Add a colored ASCII banner to the start of a CLI tool or shell script for visual branding.
- Generate animated text transitions in terminal UIs built with Rich or Textual.
- Create multicolor gradient banners for status displays or dashboard headers.
- Quick prototyping of ASCII art designs via the included CLI without writing code.
- Render styled text art in log output or deployment scripts for emphasis.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Renders ASCII art banners in the terminal using PyFiglet fonts with Rich's color and styling system, available as both a library and CLI tool.
Yes. Low install friction, active maintenance, no known vulnerabilities, and MIT licensing make it a straightforward choice. Install if you need ASCII art banners in a terminal application or script—the library integrates cleanly with Rich, and the CLI is useful for one-off testing. The 83 days since last release and active status indicate ongoing support.
Install
rich-pyfiglet on PyPI
pip
pip install rich-pyfigletuv
uv add rich-pyfigletpoetry
poetry add rich-pyfigletInstalling rich-pyfiglet
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent release; last commit 2026-05-23. Supports current Python versions (3.10–3.14).
License in practice
MIT license (permissive) allows unrestricted use, modification, and distribution in commercial and private projects.
Quickstart
pip install rich-pyfiglet
from rich_pyfiglet import RichFiglet
from rich.console import Console
console = Console()
figlet = RichFiglet(text='Hello', colors='blue:green')
console.print(figlet)
Requires Python 3.10 or later.
Verify before relying
- Whether gradient quality and animation FPS customization are exposed through the library API or CLI only.
- Performance characteristics when rendering very large banners or with complex color gradients.
- Availability and completeness of the font list inherited from pyfiglet.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pyfiglet, rich, rich-click |
| Maintenance | actively maintained — 83 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 157,642/month — #10,749 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rich_pyfiglet-2.0.1-py3-none-any.whl
Keywords: python, pyfiglet, figlet, ascii, rich, cli, color, terminal, banner
Tags
More Terminals packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
coloramaColorama makes ANSI escape sequences for…
permissive · top 100 on PyPI
wcwidthMeasures the displayed width of Unicode strings…
permissive · top 1,000 on PyPI
ptyprocessRun a subprocess in a pseudo terminal (pty) and…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
pyfigletRenders ASCII text as ASCII art using a variety…
permissive · top 5,000 on PyPI
rich-pixelsRenders pixel images and ASCII art grids to the…
unclear · top 15,000 on PyPI
artConverts text and generates one-line ASCII art…
permissive · top 5,000 on PyPI
rich-toolkitRich Toolkit provides opinionated CLI…
permissive · top 1,000 on PyPI
pycowsayDisplays text in a formatted ASCII art cow…
permissive · top 15,000 on PyPI
ascii-colorsUnified terminal UI library providing colored…
permissive · top 15,000 on PyPI
graphttyRenders directed graphs as colored ASCII art in…
permissive · top 15,000 on PyPI
pastelPastel adds colored text output to terminal…
permissive · top 5,000 on PyPI
asciimaticsAsciimatics provides cross-platform terminal UI…
permissive · top 15,000 on PyPI