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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file PDFReport-1.0.1.tar.gz.

File metadata

  • Download URL: PDFReport-1.0.1.tar.gz
  • Upload date:
  • Size: 584.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for PDFReport-1.0.1.tar.gz
Algorithm Hash digest
SHA256 48b3dc299532f4fca07d1a094ae0fe077f149a7f8e9eecc66b57e02a7e2cfd4d
MD5 f85e503f571132112467aed6da932d05
BLAKE2b-256 5bedf6fe14c3f2cf27a7516b9cf1d168f9be7a3034c84296f58139efea1a1b7a

See more details on using hashes here.

File details

Details for the file PDFReport-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: PDFReport-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 48.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for PDFReport-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82f60a40cc91a1a5a5af2ac96504db443cfa531f596a7e250758bb98a33d7d24
MD5 832d5360e4a25e1062544ea44365ac3f
BLAKE2b-256 065614b4e1f1e9246c05a69d988a5d17e5cac914fbac7960b20d64a62b69840f

See more details on using hashes here.

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