Skip to main content

iPandoc

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

Python 2 and 3.

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

Changes

1.0.0 (2018-09-14)

  • Bump to stable version

  • Python 3 support

Metadata

Release files for iPandoc 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iPandoc 1.0.0
File Size Uploaded Provenance Actions
iPandoc-1.0.0.tar.gz 3.8 kB Without provenance Details for iPandoc-1.0.0.tar.gz

Release files / iPandoc-1.0.0.tar.gz

Download URL iPandoc-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e1cd893e2b9397b8bdc62a636e691445a26ac683ad74fa1287e1bd581b1a1a9d
BLAKE2b-256 checksum
How to use checksums
66c17ea81ee924b7234b194c2036020303833d697119ef452f8149fad5a31727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for iPandoc 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page