/pydocverter

Python client for Docverter service (pandoc as a service)

Primary LanguagePythonMIT LicenseMIT

pydocverter

Python client for Docverter service

Latest Version https://travis-ci.org/msabramo/pydocverter.svg?branch=master

Docverter is a hosted service that can do convert documents from one format to another (using pandoc). For example, it can be used to convert Markdown documents to reStructuredText. This is very useful if you prefer to write your README in Markdown, but want to publish your package to PyPI, which only knows how to do nice rendering of descriptions written in reStructuredText.

This module is a Python client to the Docverter service.

It has a very similar API to that of pypandoc, so that you can do stuff like:

try:
    import pypandoc as converter
except ImportError:
    import pydocverter as converter

converter.convert('somefile.md', 'rst')

Similar

https://github.com/lukedmor/ghmarkdown