rich-rst
A beautiful reStructuredText renderer for rich
Install
rich-rst on PyPI
pip
pip install rich-rstuv
uv add rich-rstpoetry
poetry add rich-rstPackage facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — rich, pygments |
| Maintenance | actively maintained — 39 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_rst-2.1.0-py3-none-any.whl
Keywords: rich, rst, restructuredtext, terminal, docutils, renderer
About rich-rst
from the package's own PyPI description — quoted content, verbatim
<p align="center"> <a href="https://github.com/wasi-master/rich-rst"> <img src="https://raw.githubusercontent.com/wasi-master/rich-rst/main/logo.png" alt="Logo" width="200" height="200"> </a>
<h1 align="center">rich-rst</h2> </p>
<p align="center"> <a href="https://rich-rst.readthedocs.io/en/latest/?badge=latest"><img src="https://readthedocs.org/projects/rich-rst/badge/?version=latest" alt="Documentation Status"></a> <img src="https://img.shields.io/github/actions/workflow/status/wasi-master/rich-rst/tests.yaml?label=tests" alt="Tests Status"> <img src="https://img.shields.io/github/actions/workflow/status/wasi-master/rich-rst/codeql.yml?label=codeql" alt="CodeQL Status"> <img src="https://img.shields.io/codecov/c/github/wasi-master/rich-rst" alt="Codecov"> </p>
Render reStructuredText with Rich. This package turns reST documents into Rich renderables so you can preview documentation, docstrings, and snippets directly in the terminal. Also includes a CLI.
Highlights
- Supports all currently documented RST elements.
- Handles common documentation features such as...
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
Renders reStructuredText documents as Rich-formatted terminal output, supporting headings, lists, tables, code blocks, and Sphinx roles for previewing documentation and docstrings directly in the terminal.
Low friction; pure Python wheel with only two runtime dependencies (rich and pygments). Actively maintained with a recent release 39 days ago and passing test/CodeQL workflows.
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Usage
pip install rich-rst
from rich import print
from rich_rst import RestructuredText
document = """Title\n=====\n\nThis is **bold** text."""
print(RestructuredText(document))
Verdict: A well-maintained, low-friction package for rendering reStructuredText in the terminal. MIT-licensed, actively developed, and backed by two stable dependencies. No known vulnerabilities and ranked in the top 1000 PyPI packages. Suitable for documentation preview workflows and CLI tools.
Needs verification
- Whether Python version support is truly unspecified or if there is an undocumented minimum (classifiers suggest 3.8+)
- Performance characteristics when rendering very large RST documents
- Whether all Sphinx roles mentioned are fully compatible or if some have known limitations
Similar packages
unclear · top 1,000 on PyPI
readme-rendererpermissive · top 1,000 on PyPI
bidictcopyleft · top 1,000 on PyPI
richpermissive · top 100 on PyPI
docstring-parserpermissive · top 1,000 on PyPI
rich-argparsepermissive · top 1,000 on PyPI
Sphinxpermissive · top 1,000 on PyPI
sphinxcontrib-htmlhelppermissive · top 1,000 on PyPI
sphinxcontrib-jsmathpermissive · top 1,000 on PyPI
sphinxcontrib-applehelppermissive · top 1,000 on PyPI