Overview
This is a rendering server that will wrap an OpenOffice/LibreOffice server and provide a pythonic API which is remotely callable.
The main advantage is that your client code does not need to import pyuno… This is a main plus because pyuno is a pain to get working on Windows and some flavors of Linux, don’t even think of Mac :)
Once you deploy a py3o.renderserver all you need in your python code is to use the py3o.renderclient which is really straightforward…
Deployment
We recommend you use the dockerized versions from the dockerhub
Using this way you’ll get the latest tested version of LibreOffice and py3o.renderserver without the hassle of building all the dependencies…
If you want to have templating fusion & document convertion in one single web service usable from any language with just HTTP/POST you can install py3o.fusion server. Which also exists as a docker image
Manual Installation
Requirements
Install the latest JDK for your plateform. Here is an example for Ubuntu (13.04 or 14.04):
apt-get install default-jdk
This will give you the necessary tools to compile the juno driver.
You will need to install (and compile) the py3o.renderers.juno driver.
Follow the instructions from the driver’s documentation to install it and then you’re ready to start your own RenderServer
Running the server
Here is how we start the server on a Linux host (Ubuntu 16.04):
$ start-py3o-renderserver --java=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so --ure=/usr/lib/libreoffice --office=/usr/share --driver=juno --sofficeport=8997
You MUST have a running LibreOffice (OpenOffice) server somewhere. In our example it is running on localhost with port 8997. Here is how you can start such a server on Linux (Ubuntu 13.04 / LibreOffice 4.0.4):
$ libreoffice --nologo --norestore --invisible --headless --nocrashreport --nofirststartwizard --nodefault --accept="socket,host=localhost,port=8997;urp;"
As you can see it works with OpenJDK, LibreOffice and even on 64bit systems :)
Metadata
Release files for py3o.renderserver 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py3o.renderserver-0.5.2.tar.gz | 12.7 kB | Without provenance | Details for py3o.renderserver-0.5.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py3o.renderserver-0.5.2-py2.7.egg | Legacy Egg format | - | - | Details for py3o.renderserver-0.5.2-py2.7.egg |
| py3o.renderserver-0.5.2-py2-none-any.whl | Python 2 | none | any | Details for py3o.renderserver-0.5.2-py2-none-any.whl |
Total release size: 57.7 kB
Release files / py3o.renderserver-0.5.2.tar.gz
| Download URL | py3o.renderserver-0.5.2.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cb7485a5d621265db03976d0ab0b8c10a50771f462c97f36692ca8e44fc1b22
|
|
BLAKE2b-256 checksum How to use checksums |
d74c41b0250fafef97f40f02cf0ace92dbf3a1c400a6fb88b1b87ce423b8eeb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py3o.renderserver-0.5.2-py2.7.egg
| Download URL | py3o.renderserver-0.5.2-py2.7.egg |
|---|---|
| Size | 28.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b7aa8af6b4f81cff6a23751bba40fe68e2a1d8a74a627acb88f0551304af8198
|
|
BLAKE2b-256 checksum How to use checksums |
0bbdd27141c0f469772dbc3655019428df9ecc4813ffce67bdb6285040513ddb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / py3o.renderserver-0.5.2-py2-none-any.whl
| Download URL | py3o.renderserver-0.5.2-py2-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
29cdb2d78b1d48c15588448ba2169a5aebf32b9c9f615eaaf17a1dff04d7ff09
|
|
BLAKE2b-256 checksum How to use checksums |
3f255a31418b40865ef28c08771940e4f13d7bbe28c823d03553287b6f3f506c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py3o.renderserver 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.