Skip to main content

build downloads pyversions format

A python module dedicated to rendering RST (reStructuredText) documents to ansi-escaped strings suitable for display in a terminal.

asciicast

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!'))

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)

Source distribution for rst2ansi 0.1.5
File Size Uploaded
rst2ansi-0.1.5.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rst2ansi 0.1.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page