Skip to main content

Create PDF reports

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PDFReport-1.0.1.tar.gz (584.3 kB view hashes)

Uploaded Source

Built Distribution

PDFReport-1.0.1-py3-none-any.whl (48.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page