A utility and library to convert a reStructuredText document to Markdown.
Installation
pip install --user rst2md
Usage
This can be used as a library or from the command line.
As a library:
import pathlib
from rst2md import convert_rst_to_md
path = pathlib.Path('README.rst')
with path.open('r') as f:
data = f.read()
md = convert_rst_to_md(path.name, data)
From the command line:
python -m rst2md README.rst
Metadata
Release files for rst2md 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rst2md-0.1.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rst2md-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / rst2md-0.1.1.tar.gz
| Download URL | rst2md-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
accb5e4b73372f65a028c53d2939dec48b9a62f5f56ececea6c8c920dae205fb
|
|
BLAKE2b-256 checksum How to use checksums |
52039e7250a868060ad37a004a1f2ab9a700d5d0877463b77016fd776aafb3d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / rst2md-0.1.1-py3-none-any.whl
| Download URL | rst2md-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a992294b3e7cd96f3fa0e76f37c7ab1777eaa31f7f57346977118bbee9099e18
|
|
BLAKE2b-256 checksum How to use checksums |
ca2203cbd510067d6de5ed922ccd885fc7bfb41da1d8ad2ba4e74464cfe0384f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|