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!'))
Metadata
Release files for rst2ansi 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rst2ansi-0.1.5.tar.gz | 10.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rst2ansi-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / rst2ansi-0.1.5.tar.gz
| Download URL | rst2ansi-0.1.5.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b17fb9a628d40f57933ad1a3aa952346444be069469508e73e95060da33fe6f
|
|
BLAKE2b-256 checksum How to use checksums |
3c19b29bc04524e7d1dbde13272fbb67e45a8eb24bb6d112cf10c46162b350d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rst2ansi-0.1.5-py3-none-any.whl
| Download URL | rst2ansi-0.1.5-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2cf192e38975918d07540bba7d673550cd7d28ca7443410984e22d5ab058fb3
|
|
BLAKE2b-256 checksum How to use checksums |
46cbfdb216f2b8bbec9c43655a79f2f280b2ba7822b2c8396ecceafa0c232320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rst2ansi 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.