Overview
Thereports module provides utilities for generating formatted reports from Markdown templates with variable substitution. It supports both Markdown output and PDF generation via wkhtmltopdf.
MarkdownReport
Constructor
Name of the report template (without file extension). Templates are loaded from
openavmkit.resources.reports/.Attributes
Name of the report template
The raw Markdown template text
The rendered Markdown text after variable substitution
Dictionary of variables for substitution in the template
Methods
get_var()
Variable name to retrieve
set_var()
Variable name to set
Value to assign to the variable
render()
The rendered Markdown text
to_markdown()
File path where the Markdown should be written
to_pdf()
File path where the PDF should be written
Optional path to CSS file for styling the PDF
Example Usage
Available Templates
OpenAVM Kit includes several built-in report templates:- ratio_study - IAAO-standard ratio study report
- sales_scrutiny - Sales validation and outlier detection report
- variables - Variable importance and correlation analysis
- report - General assessment quality report
openavmkit/resources/reports/ and use Markdown with variable substitution syntax.
Related
PDF Configuration
Set up wkhtmltopdf for PDF generation
Ratio Studies
Calculate ratio study metrics