Create PDF reports
Project description
PDFReport
Python Report Library
- category Library
- author Michael Hodel info@adiuvaris.ch
- version 1.0.1
- copyright 2023-2023 Michael Hodel - Adiuvaris
- license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
- link https://github.com/adiuvaris/PDFReport
- source https://github.com/adiuvaris/PDFReport
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48b3dc299532f4fca07d1a094ae0fe077f149a7f8e9eecc66b57e02a7e2cfd4d |
|
MD5 | f85e503f571132112467aed6da932d05 |
|
BLAKE2b-256 | 5bedf6fe14c3f2cf27a7516b9cf1d168f9be7a3034c84296f58139efea1a1b7a |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f60a40cc91a1a5a5af2ac96504db443cfa531f596a7e250758bb98a33d7d24 |
|
MD5 | 832d5360e4a25e1062544ea44365ac3f |
|
BLAKE2b-256 | 065614b4e1f1e9246c05a69d988a5d17e5cac914fbac7960b20d64a62b69840f |