skillfed

rich-pyfiglet

A library that wraps PyFiglet with the Rich library for rendering ASCII art in the terminal.

rich-pyfiglet v2.0.1 157.6K downloads/30d#10,749 on PyPI10
Permissive license MIT Active released

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-pyfiglet

uv

uv add rich-pyfiglet

poetry

poetry add rich-pyfiglet

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

ascii art banner terminalfiglet python richcolored text bannersterminal ascii renderingpyfiglet rich wrappercli banner generatorstyled ascii art
ascii-artcli-toolterminal-styling

More Terminals packages