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 details)
File details
Details for the file pyandoc-0.0.1.tar.gz.
File metadata
- Download URL: pyandoc-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfb2c9f7ae6deaa920401c2618c88934555ac14a071ddb93ea36697259c3bf6c
|
|
| MD5 |
1475c0e93725769a7a813cdb432c769c
|
|
| BLAKE2b-256 |
423f3bb03a768fa45165e1c5f8b0b8929e1c105015bd404d7331a3e6e645c3bf
|