Skip to content
AiProductsHunt AiProductsHunt

TenTags – Declarative (IR) for Documents

Declarative Intermediate Representation (IR) for Documents

Visit website
Screenshot of TenTags – Declarative (IR) for Documents

About TenTags – Declarative (IR) for Documents

TenTags is an open-source declarative document language and Intermediate Representation (IR) for generating structured documents. Instead of embedding programming logic into templates, TenTags uses a compact semantic syntax that can be generated by Python applications and AI agents. Compile the same document definition into HTML, PDF, Excel (.xlsx), and future output formats while keeping business logic separate from presentation.

Reviews 4

Your rating

Thanks! Your review is posted.

Sign in to rate and review TenTags – Declarative (IR) for Documents.

  • Monserrate VonRueden 4 months ago

    🚀 TenTags 2.0.2 is now available! This is one of the biggest updates since the initial launch: Django, Flask, FastAPI and Jinja2 integrations New template tag system Apache 2.0 license Improved rendering and template workflow Numerous fixes and performance improvements Thanks to everyone who tried TenTags and shared feedback after the launch. Your suggestions directly influenced this release. I'd love to hear what you'd like to see next!

  • Kyleigh Luettgen 4 months ago

    📢 Big Update: TenTags v1.1.0 is Live! Introducing Multi-Table & Report Orchestration! We’ve just released TenTags v1.1.0 (Production-Stable) which transforms the library from a simple table generator into a powerful multi-format report orchestrator! Here’s what’s new in this release: 🗂️ Multi-Table Rendering: You can now assemble multiple independent tables into a single output file! HTML: Render beautiful side-by-side dashboard grids with CSS Grid. Excel: Export tables to separate worksheets (mode="sheets") or stack them vertically on a single sheet (mode="stacked") with custom gaps and headers. PDF: Build clean multi-page document PDFs with page breaks and page-specific layouts. ♻️ Reusable Styling Templates: Preamble parameters and styles are now completely detached from the raw datasets. You can declare one style template and apply it dynamically across different data blocks! 🏁 Smart Border Control Suffixes: Added support for -1 (forces inner grids to draw) and -0 (renders a completely borderless table while preserving column alignment). 🧼 Cleaner Syntax: Preamble parameters (like Hex colors and style names) can now be written without quotes, making your DSL queries much cleaner. Version 1.1.1 is already live on PyPI (pip install -U tentags[all]). Check out the updated repository and documentation for complete examples! GitHub: https://github.com/Jandos77/tentags Let us know what you think of the new multi-table reporting features! 🚀

  • Nikunj 4 months ago

    It's a nice idea, I have used LaTeX before which was overwhelming to get used to but then very powerful. This looks easy to get used to but more limited, do you plan to keep expanding to add more things or are you going to focus on simplicity? LaTeX I used for engineering projects at university, was really good with displaying equations which is overall a pretty niche case, maybe you don't care about that?

  • Jaiden Runolfsson 4 months ago

    Finally someone separated business logic from presentation without forcing me into a template engine. The same .tentags file spitting out both PDF and xlsx from Python is genuinely useful, and the syntax feels way more compact than Jinja or LaTeX.

Compare