Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Pure Python bindings to the online Docverter Pandoc document format conversion API.

Project Description

Pure Python bindings to the online Docverter Pandoc document format conversion API. This way, you get access to the power of Pandoc from anywhere, without having to meddle with installing anything. Useful for lightweight applications or when you want to avoid the overhead of a full pandoc installation.

See: http://www.docverter.com/

Platforms

Tested on Python version 2.x.

Dependencies

Pure Python, no dependencies.

Installing it

iPandoc is installed with pip from the commandline:

pip install ipandoc

Usage

iPandoc is very simple to use. There is only one function, which converts a piece of text to another document format.

This can be pretty useful, especially for dynamically converting a project README file, which some people write in markdown format for displaying at GitHub, over to ReStructured text for displaying at PyPi (e.g. in your project’s setup.py file).

import ipandoc
markdown = open("README.md").read()
rst = ipandoc.convert(text=markdowntext,
                      fromformat="markdown",
                      toformat="rst")

Of course, there are many other text formats you can convert between. See API documentation link for more details on usage and options.

More Information:

License:

This code is free to share, use, reuse, and modify according to the MIT license, see license.txt

Credits:

Karim Bahgat (2015)

Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
iPandoc-0.1.0.zip (7.2 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting