Htmf – literal HTML in Python f-strings
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.
Does the same job
all alternatives →- EAEel – a simple Python library for making little HTML GUI applications2018 · github.com · ▲201
- HHHtmlPy – HTML5-CSS3-JavaScript Based GUI Library in Python2015 · amol-mandhane.github.io · ▲79
- HGHtpy – generate HTML from Python without templates2024 · htpy.dev · ▲7
I built a library that to generate HTML from Python. We have been using this library with Django the last couple of months instead of classic templates and find it to be productive. It is easy to debug, works great with static type checkers and it is easy to build reusable components/partials. Give it a try!
- SHSimple-HTML – type-safe, template-less HTML rendering for Python2022 · pypi.org · ▲6
- NJNext.js-like Python web framework, built for Htmx with FastAPIOct 2025 · volfpeter.github.io · ▲6
It's very early days for the project, but I wanted to share it to see if there is interest. It is the final piece of the FastAPI server-side rendering stack I started building with FastHX and htmy (the two dependencies of this project besides FastAPI). Think of it as a more powerful and convenient alternative to tools like FastHTML, powered by FastAPI (without any modifications). I hope you'll like it.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, August 2024
the whole month →
- IY
Life & fun · 2024 · ytch.xyz



- IA
Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…
Dev tools · 2024 · github.com