talira

ReportLab

The print button for eBusiness

open coreBSD-3-Clauseself-hostablefree

ReportLab is a Python toolkit for generating PDFs: you build a graph of Python objects (Platypus page layout, flowables, graphics and barcodes) and render them. The open-source ReportLab PDF Toolkit is BSD licensed and is the engine under ReportLab PLUS, the commercial product, which adds RML (Report Markup Language, an XML layout language), the Preppy templating preprocessor and pageCatcher for reusing pages from existing PDFs, so documents can be built like dynamic web pages. PLUS is licensed by monthly output volume.

Problems it solves

  • generate statements and reports as PDFs from my Django or Flask app in pure Python
  • lay out multi-page documents with flowing paragraphs, tables and page templates in Python
  • draw barcodes and vector graphics into server-generated PDFs
  • our Python report generator needs headers, footers and automatic page breaks
  • I want to describe a document layout in markup and fill it from data instead of placing every element in code
  • reuse pages from an existing branded PDF as the background of documents we generate
  • produce hundreds of thousands of customer statements a month from a Python batch job
  • draw vector diagrams into a PDF directly instead of pasting in matplotlib PNGs
  • a fund manager needs factsheets generated nightly with precise typography
  • need a mature, BSD-licensed PDF library for Python that has been around for decades

Features

  • Platypus page layout engine with flowables and page templates
  • Vector graphics and barcodes
  • Open-source toolkit (BSD)
  • PLUS: RML (Report Markup Language)
  • PLUS: Preppy templating preprocessor (BSD)
  • PLUS: pageCatcher to parse and reuse existing PDF pages

Ways to run it

ReportLab Toolkit (open source)

You run it, BSD-3-Clause

free

Only in this edition

  • Python PDF engine (platypus layout, graphics and charts)
  • pip install reportlab from PyPI

Not included

  • RML (Report Markup Language)
  • PageCatcher (reuse pages of existing PDFs)
  • support hours

You arrange

  • Python (pure Python since 4.0)
  • the rlPyCairo extra if you render bitmaps or charts

Self-hosting docs

ReportLab PLUS

You run it, under a commercial licence

annual, by PDF pages output per month: £1,728/year up to 30,000 pages, £3,456 (30k-100k), £6,912 (100k-300k), £13,824 (300k-1M), ask above 1M; financial services pay double; perpetual licence on enquiry

Only in this edition

  • RML (Report Markup Language) and its preprocessor
  • PageCatcher
  • Preppy templating bundled
  • Diagra charts
  • non-bug support hours
  • no limit on CPUs, servers or instances

You arrange

  • Python 3.8+
  • a reportlab.com account to install rlextra from ReportLab's private package index
  • a licence file deployed with the app (output is watermarked without a valid one)
  • one licence per business purpose; embedding in products you sell needs a separate agreement

Pricing

Capabilities

Has official SDKsplan not known

Alternatives

The same job

These do what ReportLab does.

  1. WeasyPrint Renders HTML and CSS to PDF, from Python or the command line
  2. PyMuPDF A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
  3. Typst The new foundation for documents
  4. iText Core Generate & Manipulate PDFs Effortlessly
  5. DocRaptor The World's Most Advanced HTML to PDF API
  6. Prince Convert HTML to PDF. Beautiful printing with simple CSS.

Compare ReportLab with the top 3