DEV Community

bythckr
bythckr

Posted on

Generate documents with minimum

I need to generate pdf document (invoice) based on a format based on data derived from csv document. I would like if its a a complete console application.

Jinja2 seems to be the popular solution, but from what I understand, needs to be web based & needs a framework like flask.

I am trying to keep it bare minimum, plus its something I have to run on my desktop. Basically a mail merge without any office suite.

Top comments (1)

Collapse
 
maximoguerrero profile image
Maximo Guerrero

You can run Jinja without running flask. I believe what you are looking to do is something like this.

marknagelberg.com/creating-pdf-rep...