How to dynamically generate graphics and PDFs using Python an jinja

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Flask

    The Python micro framework for building web applications.

  • A few days ago I was searching the internet for a guide on how to use the jinja library to enable a flask application to generate PDF documents. Since I didn't find anything comprehensible on google, here are my findings and the (partially hacky) code i wrote.

  • Jinja2

    A very fast and expressive template engine.

  • jinja: Default templating engine for and dependency of flask

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • segno

    Python QR Code and Micro QR Code encoder

  • segno: QR-code generator in python that is capable of SVG output

  • CairoSVG

    Convert your vector images

  • cairosvg: Provides the SVG-to-PDF Converter

  • flask-sqlalchemy

    Adds SQLAlchemy support to Flask

  • flask-sqlalchemy: ORM for database access

  • flask-login

    Flask user session management.

  • flask-login: Provides access to the current username

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts