rst2ansi
A rst converter to ansi-decorated console output
Decision gist · record as of 2026-08-14
Yes, with caution. The package is lightweight, has no dependencies, and carries no known vulnerabilities. However, its last release was in 2016 and maintenance is stalled. Install it if you need simple RST-to-ANSI conversion and can test compatibility with your Python version; avoid it if you require active maintenance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is aging—last release was 2016-05-24 and the last commit 2026-01-07, with no recent activity.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.
last release 2016-05-24 (3734 days) · last repo commit 2026-01-07 · 34 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 307,832 downloads/mo, #7,772 on PyPI
Alternatives
Verify before relying
pip install rst2ansi
from rst2ansi import rst2ansi
print(rst2ansi('I **love** reStructuredText!'))- Whether the package works reliably with Python versions beyond 3.5 despite classifiers listing 3.3–3.5
- Current compatibility with modern reStructuredText syntax and edge cases
- Whether ANSI escape sequence handling covers all terminal types
What it is and what it does
rst2ansi is a Python module that converts reStructuredText markup into ANSI-escaped strings for display in terminal environments. It handles RST formatting directives like bold and emphasis, translating them into terminal escape codes that render formatted text in console output.
The package works both as a standalone CLI tool (accepting a file path and printing formatted output) and as an importable module for programmatic use. It has no runtime dependencies, making installation straightforward. However, the package has not been actively maintained since 2016, raising questions about compatibility with modern Python releases.
Use it for
- Display formatted RST documentation in terminal environments without rendering to HTML or PDF
- Build CLI tools that present rich, formatted help text or documentation from RST source files
- Convert RST markup to terminal-friendly output for log files or console-based documentation viewers
- Render project README files written in RST with formatting preserved in terminal output
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with caution.
The package is lightweight, has no dependencies, and carries no known vulnerabilities. However, its last release was in 2016 and maintenance is stalled. Install it if you need simple RST-to-ANSI conversion and can test compatibility with your Python version; avoid it if you require active maintenance.
Install
rst2ansi on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is aging—last release was 2016-05-24 and the last commit 2026-01-07, with no recent activity.
License in practice
MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install rst2ansi
from rst2ansi import rst2ansi
print(rst2ansi('I **love** reStructuredText!'))
Verify before relying
- Whether the package works reliably with Python versions beyond 3.5 despite classifiers listing 3.3–3.5
- Current compatibility with modern reStructuredText syntax and edge cases
- Whether ANSI escape sequence handling covers all terminal types
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 3,734 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 307,832 / month, #7,772 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: MarkupTopic :: Utilities |
Evidence: rst2ansi-0.1.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rst to ansi terminal”
- rst2ansiConverts reStructuredText documents to ANSI-escaped terminal output,…
- rich-rstRenders reStructuredText documents as Rich terminal output,…
- ansiProvides ANSI escape codes for cursor movement and text styling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also rich-rst · ansi2html · pansi · docutils · ansimarkup · inscriptis · rst2pdf · m2r2 · enrich · treetable