Skip to main content

transform libreoffice documents to supported formats

Project description

Overview

py3o.renderclient is a client library that can be used to easily integrate with the py3o.renderserver to transform LibreOffice/OpenOffice documents into PDF.

http://bitbucket.org/faide/py3o.renderserver

This architecture was designed to avoid the pyuno dependency in the client program. Depending on pyuno is really complicated on some plateforms.

Using this client you can leverage a distant (or local) renderserver to transform documents for you with nearly no code.

Example

Here is a sample minimalistic client that considers you have a renderserver running on localhost:

from py3o.renderclient import RenderClient

client = RenderClient('localhost', 8994)
client.login('toto', 'plouf')
client.render('py3o_example.odt', 'py3o_example.pdf', 'pdf')

For the moment the login/password phase is not checked by the server, but we aim to add an authentication layer in the future.

Status

Since we are still in pre 1.0 releases we may change the API and add more functionnalities, now is a good time to give feed-back and feature requests.

Project details


Download files

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

Source Distribution

py3o.renderclient-0.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distributions

py3o.renderclient-0.3-py2.7.egg (5.3 kB view hashes)

Uploaded Source

py3o.renderclient-0.3-py2-none-any.whl (5.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page