An easy solution to transform openoffice documents to supported formats
py3o.renderclient is a client library that can be used to easily integrate with the py3o.renderserver to transform LibreOffice/OpenOffice documents into PDF.
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.
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.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|py3o.renderclient-0.2-py2.6.egg (5.3 kB) Copy SHA256 hash SHA256||Egg||2.6||Oct 6, 2011|
|py3o.renderclient-0.2.tar.gz (3.0 kB) Copy SHA256 hash SHA256||Source||None||Oct 6, 2011|
|py3o.renderclient-0.2.zip (6.7 kB) Copy SHA256 hash SHA256||Source||None||Oct 6, 2011|