reportlab
ReportLab PDF Generation
Overview
ReportLab is a powerful Python library for programmatic PDF generation. Create anything from simple documents to complex reports with tables, charts, images, and interactive forms.
Two main approaches:
- Canvas API (low-level): Direct drawing with coordinate-based positioning - use for precise layouts
- Platypus (high-level): Flowing document layout with automatic page breaks - use for multi-page documents
Core capabilities:
- Text with rich formatting and custom fonts
- Tables with complex styling and cell spanning
- Charts (bar, line, pie, area, scatter)
- Barcodes and QR codes (Code128, EAN, QR, etc.)
- Images with transparency
- PDF features (links, bookmarks, forms, encryption)
Choosing the Right Approach
More from jackspace/claudeskillz
base-ui-react
|
202rapid-prototyper
Creates minimal working prototypes for quick idea validation. Single-file when possible, includes test data, ready to demo immediately. Use when user says "prototype", "MVP", "proof of concept", "quick demo".
180repository-analyzer
Analyzes codebases to generate comprehensive documentation including structure, languages, frameworks, dependencies, design patterns, and technical debt. Use when user says "analyze repository", "understand codebase", "document project", or when exploring unfamiliar code.
177windows-expert
Expert guidance for Windows, PowerShell, WSL interop, and cross-platform development
119hugo
|
119firecrawl-scraper
|
100