Tagged: Jinja2

0

Creating Dynamic PDF reports using Jinja and Gotenberg

I use Jinja2 in a variety of ways. Sometimes to create SVGs and other times to create reports. Recently there was a requirement to create PDF reports as part of a service. Since the app already uses Python and Jinja2, we used that to generate PDF reports. Using data and Jinja2, we created...

1

Blogring – JSON to OPML export

If you have been reading this blog you would know that I have blogring now. It’s stored as JSON documents in CouchDB and then used in widgets in the sidebar. It also happens that I read the same blogs in a feed reader. So I wanted a way to import these into my blog reader easily. CouchDB is my source of truth; hence I wanted a way to export JSON documents into OPML format that can be imported into any reader.

0

Linked List: Tools for SQL Developers

I love SQL. There is nothing like playing with the data once you know it. I give it all the respect a programming language deserves. I store it in files as .sql files, add them git, use configuration to set schema name, etc. I use quite a few tools to deal with SQL (and databases). Here are my most used.

1

Jinja2 as a Command Line Application

The most common use of Jinja2 is in web applications, where it is used to create HTML files from template files. But I have used it outside web applications too.