rich-argparse
Rich help formatters for argparse and optparse
Install
rich-argparse on PyPI
pip
pip install rich-argparseuv
uv add rich-argparsepoetry
poetry add rich-argparsePackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — rich |
| Maintenance | actively maintained — 104 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: rich_argparse-1.8.0-py3-none-any.whl
Keywords: argparse, help-formatter, optparse, rich
About rich-argparse
from the package's own PyPI description — quoted content, verbatim
rich-argparse
python -m rich_argparse (image)
tests (image) pre-commit.ci status (image) Downloads (image) Python Version (image) Release (image)
Format argparse and optparse help using rich.
rich-argparse improves the look and readability of argparse's help while requiring minimal changes to the code.
Table of contents
- Installation
- Usage
- Output styles
- Customizing colors
- Group name formatting
- [Special text...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Formats argparse and optparse help output with rich styling, colors, and improved readability while requiring minimal code changes to existing argument parsers.
Minimal install friction: pure Python wheel with only rich as a runtime dependency. Active maintenance with a recent release (104 days ago) and steady repository activity.
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with only attribution required.
Usage
pip install rich-argparse
import argparse
from rich_argparse import RichHelpFormatter
parser = argparse.ArgumentParser(formatter_class=RichHelpFormatter)
parser.add_argument('--name', help='Your name')
args = parser.parse_args()
Verdict: Production-ready package (stable status, no known vulnerabilities) that enhances argparse help output with minimal overhead. Single lightweight dependency on rich, active maintenance, and permissive MIT license make it a low-risk addition to CLI projects.
Needs verification
- Whether the package's console markup feature (enabled by default) may conflict with existing help text containing square brackets in production codebases
- Performance impact when rendering help for parsers with very large numbers of arguments or complex rich renderables
Similar packages
permissive · top 1,000 on PyPI
richpermissive · top 100 on PyPI
colorlogpermissive · top 1,000 on PyPI
logurupermissive · top 1,000 on PyPI
cyclerpermissive · top 1,000 on PyPI
rich-rstpermissive · top 1,000 on PyPI
coloredlogspermissive · top 1,000 on PyPI
argparsepermissive · top 1,000 on PyPI
readme-rendererpermissive · top 1,000 on PyPI
ConfigArgParsepermissive · top 1,000 on PyPI