pypandoc 0.5.0
Thin wrapper for pandoc.
pypandoc provides a thin wrapper for pandoc, a universal document converter. Use it as follows:
import pypandoc
output = pypandoc.convert('somefile.md', 'rst')
# alternatively you could just pass some string to it and define its format
output = pypandoc.convert('#some title', 'rst', format='md')
The code infers pandoc --from format automatically based on given file extension unless one is provided explicitly. extra_args parameter makes it possible to access various pandoc options. Please refer to pandoc -h and the official documentation for further details.
See also pypandoc.
License
pypandoc is available under MIT license. See LICENSE for more details.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| pypandoc-0.5.0.tar.gz (md5) | Source | 2011-11-16 | 3KB | 201 | |
- Author: Juho Vepsäläinen
- Home Page: https://github.com/bebraw/pypandoc
- License: MIT
- Categories
- Package Index Owner: Juho.Vepslinen
- DOAP record: pypandoc-0.5.0.xml
