# ReportLab

> The print button for eBusiness

Source: https://talira.ai/catalog/reportlab-389sa2r4
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Library
- Categories: [documents / pdf / generation](https://talira.ai/categories/documents/pdf/generation), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, windows
- Licence: BSD-3-Clause
- Pricing: Paid, free tier
- Pricing notes: Open-source toolkit free (BSD). ReportLab PLUS: annual licence priced in GBP by PDF pages output per month, £1,728/year up to 30,000 pages (non-financial), £3,456 (30k-100k), £6,912 (100k-300k), £13,824 (300k-1M), quote above 1M; financial services pay double. Server-side use only, one licence per business application per site; perpetual licence on enquiry.
- Free tier: yes
- Self-hostable: yes
- Backed by: [ReportLab](https://talira.ai/orgs/reportlab.md)

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.

## Links

- Website: https://www.reportlab.com/
- Docs: https://docs.reportlab.com/
- Pricing: https://www.reportlab.com/pricing/

## 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. Price: 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: https://docs.reportlab.com/install/open_source_installation/

### ReportLab PLUS

You run it, under a commercial licence. Price: 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: https://www.reportlab.com/pricing/

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- has a company behind it
- used by NASA, Wikipedia, Fidelity, Hewlett Packard

Warnings:

- activity not tracked: no repository is linked

## Alternatives

- [WeasyPrint](https://talira.ai/catalog/weasyprint-c7dnxd3b.md): Renders HTML and CSS to PDF, from Python or the command line
- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
- [Typst](https://talira.ai/catalog/typst-kghwt0kf.md): The new foundation for documents
- [iText Core](https://talira.ai/catalog/itext-core-hcps5a1v.md): Generate & Manipulate PDFs Effortlessly
- [DocRaptor](https://talira.ai/catalog/docraptor-qrzzachz.md): The World's Most Advanced HTML to PDF API
- [Prince](https://talira.ai/catalog/prince-cbgkkxts.md): Convert HTML to PDF. Beautiful printing with simple CSS.
