python-rst2ansi icon indicating copy to clipboard operation
python-rst2ansi copied to clipboard

A python utility for rendering RST in the terminal

Results 7 python-rst2ansi issues
Sort by recently updated
recently updated
newest added

I had to install `docutils` pip package. This package should be set as a dependency.

Hello, the version 0.1.5 available on PyPi has issues, e.g. ['str' object has no attribute 'decode'](https://github.com/Snaipe/python-rst2ansi/issues/12). Can you please put up the current version?

Sorry for a noob question, but I installed this utility like this: ``` pip3.7 install rst2ansi ``` And now I am not quite sure how to make it easy to...

The main executable bin/rst2ansi starts with `#!/usr/bin/python` which aliases python2 (PEP 394). Should be `#!/usr/bin/python3` or even better `#!/usr/bin/env python3`

I took advantage of the setuptools _entry_points_ functionality to make the installer install correctly on both python2 and python3. This also took adding `from __future__ import print_function` to fully support...

``` ../../../../../../../usr/lib/python3.12/site-packages/rst2ansi/visitor.py:27 /usr/lib/python3.12/site-packages/rst2ansi/visitor.py:27: DeprecationWarning: The `docutils.utils.error_reporting` module is deprecated and will be removed in Docutils 0.21 or later. Details with help("docutils.utils.error_reporting"). from docutils.utils.error_reporting import SafeString ```

* Python 3+ * passes "ruff check" and "ruff format" * isort to sort imports * removed unused imports that solves issue #16 * converted strings to f-strings