A pyuno based driver for py3o
Project description
pyuno for py3o
=============
py3o.renderers.pyuno is a pyuno based driver for py3o to transform
an OpenOffice document into a PDF or other supported format.
Prerequisites
=============
You will need a running OpenOffice instance. (If you are on
windows this can be addressed by using the py3o.renderserver
Open Office service.)
This has been tested with LibreOffice 4.0
Important Note
==============
Windows
-------
If you are under Windows the pyuno driver will not work with your system python.
This will still work if you install everything inside the embedded python
shipped with Open Office. It is recommended to use the java based driver
py3o.renderers.juno which is really easier to deploy on Windows.
Linux
-----
If you are under Linux, this driver will work with your system python as long
as pyuno is correctly installed. It is not possible to call the pyuno bride
directly if python shipped with Open-/LibreOffice has not the same version as
the system python. To circumvent this problem the driver tries to determine the
paths to the python version of Open-/LibreOffice and spawns a child proccess for
the conversion which runs within this python environment.
Usage
=====
from py3o.renderers.pyuno import Convertor
c = Convertor("127.0.0.1", "8997")
t1 = datetime.datetime.now()
c.convert("py3o_example.odt", "py3o_example.pdf", "pdf")
t2 = datetime.datetime.now()
For more information please read the API documentation.
License
=======
This software is licensed under the MIT License
Contributors by alphabetic order
================================
- Aide Florent
- Björn Ricks
If anyone is missing to this list please let us know!
=============
py3o.renderers.pyuno is a pyuno based driver for py3o to transform
an OpenOffice document into a PDF or other supported format.
Prerequisites
=============
You will need a running OpenOffice instance. (If you are on
windows this can be addressed by using the py3o.renderserver
Open Office service.)
This has been tested with LibreOffice 4.0
Important Note
==============
Windows
-------
If you are under Windows the pyuno driver will not work with your system python.
This will still work if you install everything inside the embedded python
shipped with Open Office. It is recommended to use the java based driver
py3o.renderers.juno which is really easier to deploy on Windows.
Linux
-----
If you are under Linux, this driver will work with your system python as long
as pyuno is correctly installed. It is not possible to call the pyuno bride
directly if python shipped with Open-/LibreOffice has not the same version as
the system python. To circumvent this problem the driver tries to determine the
paths to the python version of Open-/LibreOffice and spawns a child proccess for
the conversion which runs within this python environment.
Usage
=====
from py3o.renderers.pyuno import Convertor
c = Convertor("127.0.0.1", "8997")
t1 = datetime.datetime.now()
c.convert("py3o_example.odt", "py3o_example.pdf", "pdf")
t2 = datetime.datetime.now()
For more information please read the API documentation.
License
=======
This software is licensed under the MIT License
Contributors by alphabetic order
================================
- Aide Florent
- Björn Ricks
If anyone is missing to this list please let us know!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
py3o.renderers.pyuno-0.2.zip
(12.3 kB
view details)
Built Distributions
File details
Details for the file py3o.renderers.pyuno-0.2.zip
.
File metadata
- Download URL: py3o.renderers.pyuno-0.2.zip
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a7bf07827261479595433f01f85f55458d201fb76e53e8af8b494b3d3ee3db |
|
MD5 | 6cbd23afe3bd90026f5e3660c7158c43 |
|
BLAKE2b-256 | e86df612b4f8b5cfcadfe9828cd48864f3108fb9dfadecced7937061d823644a |
Provenance
File details
Details for the file py3o.renderers.pyuno-0.2.tar.gz
.
File metadata
- Download URL: py3o.renderers.pyuno-0.2.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7980ddab9a28f7f0560652450894eb91a91afebcb0e01817d60d9ebf059a01cc |
|
MD5 | 2f0ca6c7c9d5506df421aff0d227f672 |
|
BLAKE2b-256 | 557e4803fe715c8da77ff8bbbcee5577c1499a6c819bf6bfd4fabdf1da6d20af |
Provenance
File details
Details for the file py3o.renderers.pyuno-0.2-py2.7.egg
.
File metadata
- Download URL: py3o.renderers.pyuno-0.2-py2.7.egg
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f5dd395bf372634ea04f6218d1a1a66e70e133ba458fd5d646eac753a4a010 |
|
MD5 | 7c8c9ae0098dbee623867b1f4a0261b4 |
|
BLAKE2b-256 | d45d59665090b54756881fe98f25c27503e2c23e7b3b67527507aa1b64ecdf2e |
Provenance
File details
Details for the file py3o.renderers.pyuno-0.2-py2-none-any.whl
.
File metadata
- Download URL: py3o.renderers.pyuno-0.2-py2-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d1ba8cd4cfe7f3b8650549f44ac49e0f6d7a3174e5b45b57ad550a46a12ebb |
|
MD5 | 415b9fe0d6270d68258f4c2649d19e9f |
|
BLAKE2b-256 | c7a9bc4bb6e016ed6ec82242c0ca26902dc561273b4ff82d41f697d266382c3f |