rst2ansi 0.1.5
pip install rst2ansi
Latest version
Released:
A rst converter to ansi-decorated console output
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Snaipe
- Tags rst, restructuredtext, ansi, console, code, converter
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
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!'))
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Snaipe
- Tags rst, restructuredtext, ansi, console, code, converter
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rst2ansi-0.1.5.tar.gz
.
File metadata
- Download URL: rst2ansi-0.1.5.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b17fb9a628d40f57933ad1a3aa952346444be069469508e73e95060da33fe6f |
|
MD5 | e782c60f3f3696bd7702b6a3082be195 |
|
BLAKE2b-256 | 3c19b29bc04524e7d1dbde13272fbb67e45a8eb24bb6d112cf10c46162b350d7 |
File details
Details for the file rst2ansi-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: rst2ansi-0.1.5-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2cf192e38975918d07540bba7d673550cd7d28ca7443410984e22d5ab058fb3 |
|
MD5 | 3175c1575e431b220061efeb4b272503 |
|
BLAKE2b-256 | 46cbfdb216f2b8bbec9c43655a79f2f280b2ba7822b2c8396ecceafa0c232320 |