A rst converter to ansi-decorated console output
Project Links
Meta
Author: Snaipe
Classifiers
Development Status
- 4 - Beta
Environment
- Console
Intended Audience
- Developers
- End Users/Desktop
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python :: 2.7
- Python :: 3
- Python :: 3.3
- Python :: 3.4
- Python :: 3.5
Topic
- Software Development :: Libraries :: Python Modules
- Text Processing :: Markup
- Utilities
A python module dedicated to rendering RST (reStructuredText) documents to ansi-escaped strings suitable for display in a terminal.
Installation
Requirements
Python 3.3+
PyPi package
pip install rst2ansi
Usage
As a CLI utility:
usage: rst2ansi [-h] [file]
Prints a reStructuredText input in an ansi-decorated format suitable for
console output.
positional arguments:
file A path to the file to open
optional arguments:
-h, --help show this help message and exit
As a python module:
from rst2ansi import rst2ansi
print(rst2ansi('I **love** reStructuredText!'))
May 24, 2016
0.1.5
Feb 28, 2016
0.1.4
Jan 09, 2016
0.1.3
Jan 05, 2016
0.1.2
Jan 05, 2016
0.1.1
Jan 03, 2016
0.1.0
Jan 05, 2016
0.1.2.linux
Jan 05, 2016
0.1.1.linux
Jan 03, 2016
0.1.0.linux
Wheel compatibility matrix
Files in release
No dependencies