Socket
Socket
Sign inDemoInstall

PDFReport

Package Overview
Dependencies
13
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    PDFReport

Create PDF reports


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc