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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file py3o.renderclient-0.3.tar.gz
.
File metadata
- Download URL: py3o.renderclient-0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b16ac08002e3a08ee4f7494458d0bfb48ebd9bfe76badb0346de21d6e8234d2 |
|
MD5 | d73e017fa7fabb13b4804da4b4ca9c2d |
|
BLAKE2b-256 | 099f9d944e65e7e5609de392bf92795e93d6ba1395993d682fdd92aebba0de3a |
File details
Details for the file py3o.renderclient-0.3-py2.7.egg
.
File metadata
- Download URL: py3o.renderclient-0.3-py2.7.egg
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35c3003d0a984d278046cb82b90f5b17367a74e778e2d25f04dac17611c2237 |
|
MD5 | 19d606100cb4c6b98443316ef3175b6b |
|
BLAKE2b-256 | fccfea373eb4eb4a7fa9a01b1fbf6a874ea373f6329827072065e05a841b61d1 |
File details
Details for the file py3o.renderclient-0.3-py2-none-any.whl
.
File metadata
- Download URL: py3o.renderclient-0.3-py2-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ad5081a74934a79a23cd586b0b8e63feb31974c1d067325297c0730b7313c1 |
|
MD5 | 63258279a6eb38c954206e8273878450 |
|
BLAKE2b-256 | 0df19d01ca204aa34f7aa13a07f4517f05e8b21bdf9046b08f16661df8a00678 |