TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Writing a Jinja-inspired template library in Python

27 pointsby makaimcalmost 4 years ago

3 comments

danmuralmost 4 years ago
I seem to be in the minority but I'm not a fan of jinja2. I like mako better, I guess you have more leeway to do silly things but I never feel like I can't do what I want.
评论 #27317530 未加载
评论 #27317116 未加载
评论 #27324007 未加载
评论 #27317030 未加载
iamgopalalmost 4 years ago
Are there other template library in other languages ( especially in rust or go ) that converts templates in to native language code for execution? Like the way jinja do.
评论 #27316292 未加载
评论 #27318755 未加载
评论 #27317064 未加载
评论 #27316853 未加载
jxramosalmost 4 years ago
I was always hoping to find something that would do partial renderings of a template before some exception occurred while rendering said template. This would be a great debug feature.<p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;56084066&#x2F;is-there-a-way-for-jinja-to-output-its-partially-rendered-content-before-an-exce" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;56084066&#x2F;is-there-a-way-...</a>