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.
Metadata
Release files for py3o.renderclient 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py3o.renderclient-0.3.tar.gz | 2.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py3o.renderclient-0.3-py2.7.egg | Legacy Egg format | - | - | Details |
| py3o.renderclient-0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 13.6 kB
Release files / py3o.renderclient-0.3.tar.gz
| Download URL | py3o.renderclient-0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b16ac08002e3a08ee4f7494458d0bfb48ebd9bfe76badb0346de21d6e8234d2
|
|
BLAKE2b-256 checksum How to use checksums |
099f9d944e65e7e5609de392bf92795e93d6ba1395993d682fdd92aebba0de3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py3o.renderclient-0.3-py2.7.egg
| Download URL | py3o.renderclient-0.3-py2.7.egg |
|---|---|
| Size | 5.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
e35c3003d0a984d278046cb82b90f5b17367a74e778e2d25f04dac17611c2237
|
|
BLAKE2b-256 checksum How to use checksums |
fccfea373eb4eb4a7fa9a01b1fbf6a874ea373f6329827072065e05a841b61d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py3o.renderclient-0.3-py2-none-any.whl
| Download URL | py3o.renderclient-0.3-py2-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
c2ad5081a74934a79a23cd586b0b8e63feb31974c1d067325297c0730b7313c1
|
|
BLAKE2b-256 checksum How to use checksums |
0df19d01ca204aa34f7aa13a07f4517f05e8b21bdf9046b08f16661df8a00678
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |