TenTags 2.0.2: Major Update with Django, FastAPI, Jinja2 & Apache 2.0
Hi Product Hunt!
I’m excited to share TenTags 2.0.2, a new release of my Python library for generating HTML, Excel, and PDF documents from a compact declarative syntax.
TenTags was created to make document generation easier for Python developers and AI systems. Instead of manually building tables, styles, merges, alignment, and formatting in different output formats, you describe the structure once and render it into the format you need.
What’s new in TenTags 2.x:
TenTags is now distributed under the Apache License 2.0 starting from version 2.0.0
Django template tag support with {% tt %} and inline tags
Jinja2 extension support
Global tentags(...) helper for templates
FastAPI integration through Jinja2Templates
Flask integration through Jinja2
Better workflow for rendering database data directly into TenTags-powered tables
A common use case is loading rows from a database, building separate data and style blocks, and rendering the result directly inside a Django, FastAPI, Flask, or Jinja2 template.
TenTags is especially useful for:
Reports
Invoices
Dashboards
Financial tables
Excel exports
PDF documents
AI-generated document templates
I’d love to hear feedback from Python developers, framework users, and anyone who works with document generation.
GitHub: https://github.com/Jandos77/tentags
PyPI: https://pypi.org/project/tentags/

Replies