Python wrapper for Pandoc - the universal document converter
Project description
Pyandoc: a simple Pandoc wrapper for Python
Requirements
Pandoc
Usage
Get setup.
import pandoc pandoc.PANDOC_PATH = '/usr/bin/pandoc'
Let’s start with a Markdown document:
doc = pandoc.Document() doc.markdown = ''' # I am an H1 Tag * bullet point * more points * point with [link](http://kennethreitz.com)! '''
Now let’s convert that into a ReST document:
>>> print doc.rst I am an H1 Tag ============== - bullet point - more points - point with `link <http://kennethreitz.com>`_!
Enjoy.
Roadmap
Cleanup
Figure out epub, odt support
Figure out better path management
Proper Exceptions
Unit testing
CI
v 0.0.1 (01-02-2010)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyandoc-0.0.1.tar.gz
(3.4 kB
view hashes)