Install
pip install kida-templates
Requires Python 3.14 or later. See installation for alternative methods.
Render a Template
from kida import Environment
env = Environment()
template = env.from_string("Hello, {{ name }}!")
print(template.render(name="World"))
# Output: Hello, World!
What's Next?
Quickstart
Start Here
Complete walkthrough in 2 minutes
Build and render your first file-based template.
First Project
Inheritance, filters, and multi-page rendering
Build a mini email template system with shared layouts.
Coming from Jinja2
Quick syntax cheat sheet
See what's familiar, what changes, and what Kida adds beyond Jinja2.
T-String Templates
PEP 750 inline templates
Use Python 3.14 t-strings for auto-escaped HTML snippets.
Syntax Guide
Variables, control flow, filters
Learn the template language from basics to advanced.
Tutorials
Step-by-step guides
Flask, Django, Starlette integration and more.
Quick Links
- API Reference — Environment, Template, Loaders
- Filters — All built-in filters
- vs Jinja2 — Feature comparison
- Full Migration Guide — Step-by-step with verification