I suggest using [Jinja](https://jinja.palletsprojects.com/) templates for generating the report, plus external localization files for strings. This will make it easier to extend the reports and also to translate them.