py3o.template
An easy solution to design reports using LibreOffice
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2019-03-15) and receives no maintenance or security updates. While it has low install friction and permissive licensing, the lack of active development makes it a poor choice for new projects. Consider maintained alternatives if you need LibreOffice-based templating.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a LibreOffice or OpenOffice template file (.odt or .ods) to exist as input; for PDF output, a separate renderserver instance is needed.
- Low install friction with a pure-Python wheel, but the package has been abandoned since 2019-03-15 with no active maintenance or security updates.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
last release 2019-03-15 (2709 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,878 downloads/mo, #14,584 on PyPI
Alternatives
Verify before relying
from py3o.template import Template
t = Template('template.odt', 'output.odt')
t.set_image_path('logo', 'images/logo.png')
data = {'items': [{'name': 'Item1', 'amount': 100}]}
t.render(data)- Whether the package works reliably with modern Python versions beyond 3.5, given its abandoned status
- Compatibility with recent LibreOffice/OpenOffice versions and their ODF format changes
- Whether all seven runtime dependencies remain actively maintained and compatible
What it is and what it does
py3o.template is a Python library that takes LibreOffice or OpenOffice document templates (ODT for text, ODS for spreadsheets) and merges them with data dictionaries to produce formatted output documents. It works without requiring LibreOffice or OpenOffice to be installed on the machine running the code—only the template engine itself is needed. The library uses genshi for template expression parsing and babel for date and currency formatting, allowing you to embed dynamic content, loops, conditionals, and formatted values directly into your templates.
The typical workflow is: create a template document in LibreOffice, mark data insertion points with special syntax, then call Template.render() with your data dictionary. For PDF or other output formats beyond ODF, you would need a separate renderserver instance. The package supports image injection, multi-line text, and locale-aware number and date formatting.
Use it for
- Generate invoices or receipts by merging customer and transaction data into pre-designed ODT templates
- Create spreadsheet reports (ODS) with dynamic data rows, formulas, and formatted currency/date values
- Produce bulk personalized documents by iterating over a list of records and rendering each
- Format dates and currency amounts according to locale-specific rules without manual string manipulation
- Build a document generation service that accepts data and returns ODT/ODS files
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2019-03-15) and receives no maintenance or security updates. While it has low install friction and permissive licensing, the lack of active development makes it a poor choice for new projects. Consider maintained alternatives if you need LibreOffice-based templating.
Install
py3o-template on PyPI
Before you install
Low install friction with a pure-Python wheel, but the package has been abandoned since 2019-03-15 with no active maintenance or security updates.
Requires a LibreOffice or OpenOffice template file (.odt or .ods) to exist as input; for PDF output, a separate renderserver instance is needed.
License in practice
MIT License permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Quickstart
from py3o.template import Template
t = Template('template.odt', 'output.odt')
t.set_image_path('logo', 'images/logo.png')
data = {'items': [{'name': 'Item1', 'amount': 100}]}
t.render(data)
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.5, given its abandoned status
- Compatibility with recent LibreOffice/OpenOffice versions and their ODF format changes
- Whether all seven runtime dependencies remain actively maintained and compatible
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesPillowbabelgenshilxmlpyjon.utilssetuptoolssix |
| Maintenance | Abandoned 2,709 days since the last release |
| First released | |
| Downloads | 76,878 / month, #14,584 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: py3o.template-0.10.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “libreoffice template rendering”
- py3o.templateMerges data into LibreOffice/OpenOffice templates (ODT, ODS) to…
- unoserverUnoserver runs LibreOffice as a persistent server to convert…
- antiwordWraps LibreOffice's text conversion to convert documents to plain…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ezodf · odfdo · pyexcel-ezodf · unoserver · Tempita · sphinxcontrib.datatemplates · DocumentTemplate · antiword · pyexcel-ods3 · django-templated-mail