{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/22"}],"enrichment":{"capability":"Merges data into LibreOffice/OpenOffice templates (ODT, ODS) to generate formatted documents without requiring LibreOffice installed.","skillfed_tags":["document-generation","abandoned-package"],"use_cases":["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"],"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\u2014only 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.\n\nThe 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.","worth_installing":"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."},"id":"py3o-template","links":{"html":"https://skillfed.io/packages/py3o-template","md":"https://skillfed.io/packages/py3o-template.md","pypi":"https://pypi.org/project/py3o-template/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-03-15","license_spdx":null,"license_treatment":"permissive","name":"py3o.template","python_support":"unspecified","summary":"An easy solution to design reports using LibreOffice"},"popularity":{"monthly_downloads":76878,"position":14584,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
