reportlab

Generate PDF documents programmatically using Canvas and Platypus workflows.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/silvainfm/monaco_paie --skill reportlab-silvainfm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reportlab
Source: https://github.com/silvainfm/monaco_paie/tree/main/.claude/skills/reportlab
Command: npx skills add https://github.com/silvainfm/monaco_paie --skill reportlab-silvainfm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

ReportLab enables programmatic PDF generation with precise control over layout, typography, graphics, and charts—perfect for invoices, certificates, and automated reports.

Core Features & Use Cases

  • Canvas & Platypus APIs: Low-level drawing and high-level document generation for PDFs.
  • Precise Layouts: Position text, images, tables with exact coordinates.
  • Automated Documents: Generate invoices, reports, badges, and forms in bulk.

Quick Start

Install ReportLab and create a simple PDF with a title and a paragraph, for example: from reportlab.pdfgen import canvas; c = canvas.Canvas('out.pdf'); c.drawString(100, 750, 'Hello PDF'); c.save()

Frequently Asked Questions about reportlab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate PDFs programmatically with precise layouts?

PDF generation with precise layouts is achievable using ReportLab's Canvas API for low-level drawing control or Platypus for high-level document assembly. Both APIs let you position text, images, and tables at exact coordinates, making them ideal for invoices, reports, and certificates requiring pixel-perfect placement.

Can I automate bulk document generation like invoices and certificates?

Yes, ReportLab automates bulk document generation by programmatically building PDFs from data. Loop through your data source, use Canvas or Platypus to populate templates with dynamic content, and save each PDF—eliminating manual document creation for invoices, certificates, badges, and forms.

What's the difference between Canvas and Platypus in ReportLab?

Canvas provides low-level drawing control for precise coordinate-based graphics and text placement. Platypus offers high-level workflow automation with automatic layout, pagination, and multi-page assembly. Choose Canvas for custom graphics; use Platypus for structured documents with tables, paragraphs, and automatic reflowing.

Do I need additional tools to add charts and tables to generated PDFs?

ReportLab includes built-in charting and table support. Use Platypus Table objects for structured data and ReportLab's charting module for graphs—both integrate directly into your PDF generation workflow without external dependencies.

Can ReportLab handle complex multi-page documents with headers and footers?

Yes, Platypus handles multi-page assembly with automatic pagination, headers, footers, and page breaks. Use the BaseDocTemplate framework to define page layouts once, then flow content across pages automatically while maintaining consistent typography and positioning.