skip to navigation
skip to content

appy.pod 0.3.0

pod (Python Open Document) : template engine to generate ODT documents

* This package is deprecated! Use package ‘Appy’ instead *


pod (python open document) is a library that allows to easily generate documents whose content is dynamic.

The principle is simple: you create an ODF (Open Document Format) text document (with OpenOffice Writer 2.0 or higher for example), you insert some Python code at some places inside it, and from any program written in Python, you can call pod with, as input, the OpenDocument file and a bunch of Python objects. pod generates another ODF text document (ODT) that contains the desired result. If you prefer to get the result in another format, pod can call OpenOffice in server mode to generate the result in PDF, DOC, RTF or TXT format.


0.3.0 [2009-03-25]

new function “document” that allows to integrate, in a pod template, the content of an external document or image. instead of asking to OpenOffice to convert an odt file into pdf, doc, etc, can now ask to update an odt document (refresh indexes and table of contents, resolve external links). Resolving external links is needed if you use the new “document” function (excepted for images and pdfs).

new boolean parameter to the renderer: “forceOoCall”. If True, OpenOffice will be contacted in server mode even if the result is asked in odt. This way, OpenOffice will update indexes and resolve external links. Set this parameter to True when using the new “document” function.

you may now create pod templates with OpenOffice 3.x (parsing problem with notes is solved)

OO conversion: connection to OO in server mode under Windows solved (“import socket” before “import uno”)

instruction “do … for …’ accepts now all Python objects implementing the iterator protocol, like iterators from Django query sets (querySet.iterator())

0.2.1 (2008-06-04)

0.2.0 (2008-03-23)

0.1.0 (2008-03-10)

File Type Py Version Uploaded on Size
appy.pod-0.3.0-py2.4.egg (md5) Python Egg 2.4 2009-09-30 115KB