Skip to content
Gil Cleber Barboza edited this page Nov 23, 2026 · 3 revisions

isis-report-lib Wiki

Python library for tabular PDF reports with hierarchical layouts (Jinja2 + Playwright), plus XLSX, CSV and HTML output.

pip install isis-report-lib
playwright install chromium   # required for PDF output
from isis_report_lib import generate_pdf

pdf = generate_pdf({
    "meta": {"title": "Sales Order", "locale": "en-US"},
    "layout": {
        "company": {"label": "Company", "format_mask": "str", "alignment": "left"},
        "orders": {
            "order": {"label": "Code", "format_mask": "int", "alignment": "right"},
            "total": {"label": "Total", "format_mask": "float", "alignment": "right", "aggregate": "sum"},
        },
    },
    "data": [{"company": "ACME", "orders": [{"order": 750, "total": 4000}]}],
})
open("report.pdf", "wb").write(pdf)

Start with Installation then Quickstart, or jump to a topic in the sidebar.

Full reference lives on the docs site (searchable): user guide, standards, security model and roadmap.

Clone this wiki locally