/kesha-reporting-service

HTML based reporting service aimed to generate pdf report using html template using weasyprint and jinja.

Primary LanguagePython

Kesha Reporting Service (KRS)

HTML based reporting service
Service aimed to generate pdf report using html template using weasyprint and jinja.

The little framework that could. Built with ❤︎ by Javier Garson and contributors

Table of Contents

Features

  • html based report: weasyprint engine gives more flexibility to design reports

Example

Configuration file example

{
  "pages": [
    "report.html"
  ],
  "sources": [
    {
      "name": "test",
      "type": "csv",
      "data": {
        "file": "csv.csv"
      }
    }
  ],
  "adapters": [],
  "parameters": [
    {
      "name": "var",
      "default": 5
    }
  ]
}

Installation

$ docker pull lanstat/krs

Create docker image

$ cd backend
$ docker build -f Dockerfile -t lanstat/krs .

TODO

  • Add support to mssql database
  • Add support to web service datasource
  • Add complex examples
  • Add test cases

License

MIT