reportlab

Generate PDFs with tables, charts, barcodes, forms, and encryption via reportlab.

21|2|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill reportlab-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reportlab
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/reportlab
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill reportlab-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) and scripts (resource) components.

What problem does it solve?

This Skill eliminates the friction of manually writing and styling PDFs by providing practical, ready-to-use guidance for creating professional documents programmatically.

Core Features & Use Cases

  • Canvas vs. Platypus workflows: Build PDFs with precise coordinate-based drawing (Canvas) or flowing multi-page layouts with automatic pagination (Platypus).
  • Rich document building blocks: Create formatted text, styled tables (including advanced styling), charts, barcodes/QR codes, and embedded images.
  • Professional PDF capabilities: Add links, bookmarks, interactive form fields, encryption, page transitions, and document metadata.
  • Real-world use case: Generate an invoice or certificate that includes a branded layout, itemized tables, and a QR code for verification—reliably and repeatedly.

Quick Start

Use the reportlab skill to create an invoice PDF by describing your company/client details, line items with quantities and prices, tax rate, and then generating the output as a single structured PDF file.

Frequently Asked Questions about reportlab

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

FAQPage Schema
How do I generate PDF documents with Python programmatically?

You can generate PDF documents programmatically using Python by leveraging Platypus for flowing multi-page layouts with automatic pagination or Canvas for precise coordinate-based drawing, adding formatted text, styled tables, and embedded images.

What is the best way to create an invoice PDF with line items and a QR code in Python?

The best way to create an invoice PDF is to use a Platypus workflow to compose branded layouts, itemized styled tables for line items with quantities and prices, and embed a QR code for verification, outputting a single structured file.

Does Python PDF generation support interactive form fields and encryption?

Yes, Python PDF generation supports interactive fillable forms with metadata, document encryption, links, bookmarks, and page transitions, allowing you to secure and enhance professional documents.

Can I add charts and barcodes to multi-page reports using Python?

Yes, you can add charts, barcodes, and QR codes to multi-page reports by composing flowables within a Platypus layout, which manages automatic pagination alongside your rich graphics and styled tables.

When should I use Canvas versus Platypus for PDF generation in Python?

Use Canvas for precise coordinate-based drawing when you need absolute control over element placement, and use Platypus for flowing multi-page layouts with automatic pagination when generating structured reports with text, tables, and charts.

Why does my Python PDF generation workflow need flowables for tables?

Your Python PDF generation workflow needs flowables for tables because Platypus uses them to manage content flow across pages, automatically splitting wide or long styled tables during pagination to maintain structured multi-page report layouts.