PDFReport

Create PDF reports


Keywords
PDF, report, generator, library
License
Other
Install
pip install PDFReport==1.0.1

Documentation

PDFReport

Python Report Library

Description

Python library to generate dynamic PDF reports using the FPDF2 library to create the PDF documents. The library works with nested rectangle regions on the paper where the sizes can be defined in millimeters or in percent of the surrounding rectangle or the library calculates them by the content.

Main Features:

  • all standard page formats (from FPDF), custom page margins;
  • different page formats in one report;
  • management of text styles;
  • images, 2D barcodes (e.g. QR);
  • page header and footer management;
  • automatic page break, line break and text alignments;
  • automatic page numbering;
  • support for tables with a lot of features (e.g. automatic repeat the table header row after page break)
  • nested structure of rectangles to create the report structure

Install

Via PyPi

$ pip install PDFReport

Samples

python -m PDFReport <sample number>

Sample number can be any number from 1 to 34, e.g.

python -m PDFReport 26

Usage

See the documentation https://docs.adiuvaris.ch/index.html

License

GNU LESSER GENERAL PUBLIC LICENSE. Please see License File for more information.