Skip to main content

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 an installed version of Open-/LibreOffice.

This has been tested with LibreOffice 4.0 on Linux and LibreOffice 4.2 on
Mac OS X.

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-/LibreOffice. It is recommended to use the java based driver
py3o.renderers.juno which is really easier to deploy on Windows.

Linux / Mac OS X
----------------
If you are under Linux or Mac OS X, 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
=====

Example::

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


Changelog
=========

0.3 2014/10/14
--------------

* Support for Mac OS X
* Using the new common package for format declarations py3o.formats
* Fixed problems with starting the OfficeSpawnedClient within the
Open/-LibreOffice python environment
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.3.zip (14.8 kB view details)

Uploaded Source

py3o.renderers.pyuno-0.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distributions

py3o.renderers.pyuno-0.3-py2.7.egg (15.4 kB view details)

Uploaded Source

py3o.renderers.pyuno-0.3-py2-none-any.whl (9.8 kB view details)

Uploaded Python 2

File details

Details for the file py3o.renderers.pyuno-0.3.zip.

File metadata

File hashes

Hashes for py3o.renderers.pyuno-0.3.zip
Algorithm Hash digest
SHA256 dfdb20099c8be5315e090983f4b047550eb7eee8e453784398374cfd766a10fa
MD5 88e944a973ac464236973db469156b18
BLAKE2b-256 19056bdbdd6f49bb89e5edc78dd2b3d4425cb2e7f83fbbbc58149f51dfa39d4d

See more details on using hashes here.

Provenance

File details

Details for the file py3o.renderers.pyuno-0.3.tar.gz.

File metadata

File hashes

Hashes for py3o.renderers.pyuno-0.3.tar.gz
Algorithm Hash digest
SHA256 21832c6583a9ca78106c4fc154d3f2838766cebdee6e36d56ca46e9e5a47954d
MD5 96bdd460681de0b9a5e0c47ebc3e6b4a
BLAKE2b-256 47c14022501a980fbd3cff6261fbffd449c0be9ef0dcb66f93634e2a754aa0e7

See more details on using hashes here.

Provenance

File details

Details for the file py3o.renderers.pyuno-0.3-py2.7.egg.

File metadata

File hashes

Hashes for py3o.renderers.pyuno-0.3-py2.7.egg
Algorithm Hash digest
SHA256 21063772d5e117e8118ff2bbd19d43563d1e537e4c2551c00973714828081b41
MD5 c418ca14f7f0c2d28e37fb5c51bd0a7f
BLAKE2b-256 88fe39cb37582c81a474e43fcc823f136ae834ef468c7578165f6b10b298ddc3

See more details on using hashes here.

Provenance

File details

Details for the file py3o.renderers.pyuno-0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for py3o.renderers.pyuno-0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 3132d147ed55fa31c9b92329e68220656b1c8f465613a4192ecab867a60d7c77
MD5 a9d7e75da32102851af2278982619a42
BLAKE2b-256 cfdf8b400a31e834982e8122f633509d39ab20f7b08416ba8ee367b42cebe130

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page