KPI Reporter API

Release

0.1.8

Date

Sep 13, 2021

KPI Reporter API Reference:

Changelog

0.1.8

Bug Fixes

  • If the “templates” folder inside a view plugin is missing, an error will no longer be thrown when initializing the PackageLoader for the plugin.

0.1.7

Bug Fixes

  • Plugin template resolution now supports walking up class hierachies. If a concrete class extends an existing plugin, templates will be first searched for in the concrete class’ module, then its parent class, and so on. Before, only the concrete class and the base View module were included in the lookup paths, so parent class templates would be ignored.

0.1.6

Bug Fixes

  • The default values for start_date and end_date will now be timezone-aware and derive their timezones from the local timezone on the system running the report process. A timezone report argument is also now available, which can be a timezone strong, and will override the timezone for automatically-generated values for the start and end date.

0.1.5

Bug Fixes

  • The font-family of the heading font(s) can now be specified via the heading_font theme argument. It defaults to a font-stack that renders something that looks like Helvetica and falls back to any sans-serif font installed.

0.1.4

Bug Fixes

  • The wrapper margin is now customizable on the Theme via the padding_width attribute. It defaults to 20, which was the old value in the built-in theme.

0.1.3

Bug Fixes

  • Include report templates in the published PyPI package.

0.1.2

Bug Fixes

  • Fixes an issue with rendering the license text when the license was valid or expired.

0.1.1

Bug Fixes

  • Fixes error due to missing import when loading configuration files automatically.

0.1.0

New Features

  • If no configuration file is provided via the –config-file flag, a config.yaml file will be searched for, first in the working directory and then in /etc/kpireporter.

0.0.1

Prelude

Initial commit.

New Features

  • Initial commit.