Python API for IDRsolutions BuildVu Microservice Example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


BuildVu Python Client

Convert PDF to HTML5 or SVG with Python, using the BuildVu Python Client to interact with IDRsolutions' BuildVu Microservice Example.

The BuildVu Microservice Example is an open source project that allows you to convert PDF to HTML5 or SVG by running BuildVu as an online service.


Using PIP:

pip install buildvu

For other methods / ways to install, check out the Python Docs.



First, import BuildVu and setup the converter details by creating a new BuildVu object :

from BuildVuClient import BuildVu
buildvu = BuildVu('http://localhost:8080/microservice-example')

You can now convert files by calling convert(). For example, to convert to html5 :

# returns a URL where you can view the converted output.

# Alternatively, you can specify a url from which the server will download the file to convert.
print(buildvu.convert("", inputType=BuildVu.DOWNLOAD))

# You can also specify a directory to download the converted output to:
buildvu.convert('path/to/input.pdf', 'path/to/output/dir')

Who do I talk to?

Found a bug, or have a suggestion / improvement? Let us know through the Issues page.

Got questions? You can contact us here.

Code of Conduct

Short version: Don’t be an awful person.

Longer version: Everyone interacting in the BuildVu Python Client project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Copyright 2018 IDRsolutions

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.