Packages
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
WeasyPrint converts HTML and CSS into PDF documents using a Python-based rendering engine designed for pagination and document generation.
fpdf2 generates PDF documents programmatically in Python, supporting text, images, tables, barcodes, and basic HTML conversion with Unicode font embedding.
Svglib reads SVG files and converts them to ReportLab Drawing objects, which can then be rendered to PDF, bitmap, or other formats supported by ReportLab.
Converts HTML and CSS to PDF documents using Python, enabling developers with web skills to generate PDF templates without learning specialized PDF libraries.
However, the aging maintenance status (last release 537 days ago) warrants caution in production: verify that its rendering quality and feature set meet your specific…
Generates QR codes and Micro QR codes conforming to ISO/IEC 18004:2015(E), with output to multiple formats including SVG, PNG, PDF, and EPS without external dependencies.
Piexif reads, writes, and manipulates EXIF metadata in JPEG and WebP images using pure Python with no compiled dependencies.
Install it if you need to read or edit EXIF in JPEG or WebP files without external dependencies.
pdfrw reads, writes, and manipulates PDF files in pure Python, supporting operations like merging, subsetting, rotating, and metadata modification without external dependencies.
Converts text and generates one-line ASCII art symbols, rendering them as multi-line ASCII text using various fonts and decorative styles.
pdfrw2 reads, writes, and manipulates PDF files with operations including page subsetting, merging, rotating, metadata modification, and watermarking.
However, be cautious: the package is abandoned (last commit 2022-11-09), so it may not handle modern PDF features or newly discovered edge cases.
Sty provides a simple, customizable string styling markup for terminal output, supporting 3/4bit, 8bit, and 24bit colors plus effects like bold, italic, and underline, with no external dependencies.
Prints tabular data to the terminal in a formatted, visually appealing layout with customizable borders, alignment, padding, and styling.
RenderCV converts a YAML resume file into a professionally typeset PDF with multiple design themes, handling layout, typography, and formatting automatically.
citeproc-py processes Citation Style Language (CSL) stylesheets to generate formatted citations and bibliographies in plain text, reStructuredText, and HTML from structured reference data.
However, check the list of unimplemented CSL features (disambiguation, et-al rules, collapsing) against your requirements—if you need those features, you may hit…
Converts between flag emoji and ASCII country codes (e.g., `:US:` ↔ 🇺🇸), and embeds flag emoji into text strings.