Convert PDF files to HTML or SVG using Python

BuildVu Converts PDF files to HTML5 or SVG

Convert PDF to HTML5 or SVG using Python

What is BuildVu

BuildVu is a tool for developers looking to display documents inside their web or mobile based application or portal. By converting PDF documents to HTML or SVG, BuildVu provides a flexible solution which is simple and easy to integrate.

BuildVu also integrates with LibreOffice to provide a complete solution for converting PDF, Word, Powerpoint and Excel documents to HTML or SVG.

How does it work?

BuildVu is a Java application which runs directly from command line or can be deployed as a web-application via Docker or Java Application Server (such as Tomcat or Jetty). Deploying BuildVu as a web-application provides a REST API which allows you to convert documents from any language including Python.

BuildVu is available to license to run on your own servers, or alternatively we offer a monthly subscription to access our cloud server.

How to trial BuildVu using Python

Get started with the following steps:

  1. Sign up for the trial below to get your authentication token
  2. Ensure Python 3 (or higher) and pip is installed
  3. Run the following command: pip install IDRCloudClient
  4. Copy/Paste the code on the right

The trial runs on the IDRsolutions cloud server and allows up to 20 conversions. Your files will be stored on our server for up to 1 hour.

from IDRSolutions import IDRCloudClient

client = IDRCloudClient('https://trial.idrsolutions.com/trial/' + IDRCloudClient.BUILDVU)
try:
    result = client.convert(
        input=IDRCloudClient.UPLOAD,
        file='path/to/file.pdf',
        token='YOUR_TRIAL_TOKEN' # Token provided to you via e-mail
    )

    outputURL = result['downloadUrl']

    client.downloadResult(result, 'path/to/outputDir')

    if outputURL is not None:
        print("Download URL: " + outputURL)

except Exception as error:
    print(error)

Why run BuildVu from Python?

Simple

The REST API is easy to access from Python using our open source Python client and simple example code.

Flexible

Convert documents to static HTML5 or SVG which is easy to integrate into custom systems.

Easy

Subscribe to access our cloud server, or alternatively host your own server using our docker image.

Sign up for your free trial token

This is a 14-day free trial, no credit card required.

Did you know BuildVu also works with?

Click any of the icons to get started (this will redirect to relevant page)

Need another language/framework? Let us know!