finds.dev

PyHAT-stack/awesome-python-htmx

A curated list of things related to python-based web development using htmx

View on GitHub

★ 1,329MITupdated Aug 2024

// the take

A community-maintained list of Python libraries, frameworks, tutorials, and demos for building server-rendered web apps with htmx. It's a discovery resource, not a framework — its value is in aggregating a fragmented ecosystem where the tooling is still settling. Useful if you're evaluating whether the Python+htmx approach is viable before committing to it.

The framework coverage is genuinely broad: Django, FastAPI, Flask, Starlette, and Litestar all have dedicated entries rather than treating Django as the only option. Template fragments get proper attention through multiple libraries (jinja2-fragments, django-render-block, django-template-partials), which is the actual hard problem when using htmx server-side. The introductory resources section links to concrete tutorials rather than just pointing at official docs. The PyHAT framing (Python + htmx + ASGI + Tailwind) is opinionated enough to be useful as a starting point.

Last pushed August 2024 and the ecosystem has moved since — Tailwind v4 changed the CLI story, and some linked packages may have gone stale or been superseded. There's no quality signal on individual entries: a 12-star experimental repo sits alongside a 2000-star production library with equal visual weight. The repo itself is just a README with no CI checking for dead links, so link rot is already visible. The 'Projects Using PyHAT' section is too thin to be convincing as social proof — four projects don't establish ecosystem maturity.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,329
Forks
39
License
MIT
Last commit
20 Aug 2024

// nearby

If awesome-python-htmx isn't quite it.

All repos →