Show HN: Htmf – literal HTML in Python f-strings
2 by jkmnt | 0 comments on Hacker News.
Kind of lit-html and other html`...` libraries, but in Python. It's a suite of: Few text processing utilities you could write in a hour Linter validating the f-expressions HTML beautifier VS Code syntax highlighter It was used to succesfully rebuild UIs of several internal CRUD-apps. Designed to replace the traditional jinja templates with something preserving type-safety and better IDE support. Keeping the models and templates in sync is much easier now. Maybe you would find it useful too.
No comments:
Post a Comment