What's the most htmx-ish language for the server side?

This page summarizes the projects mentioned and recommended in the original post on /r/htmx

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dream-html

    Type-safe markup rendering, form validation, and routing for OCaml Dream web framework

    I am developing an HTML generation library on top of Dream, to have great support in the language including htmx support: https://yawaramin.github.io/dream-html/dream-html/Dream_html/index.html

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • litestar

    Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

    For a python ASGI backend option, I personally like Litestar. It is a fairly new option, but I like the about to be released version 2.0 it a lot more than FastAPI as a simple-to-use post-async replacement for Flask/Django. Version 2.0 also has builtin support for htmx.

  • cookiecutter-django

    Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

    Boilerplate is not in opposition to productivity. Especially when it’s all written for you, as it is in Django, Rails, etc. You can start with something like Cookiecutter Django.

  • Mako

    THIS IS NOT THE OFFICIAL REPO - PLEASE SUBMIT PRs ETC AT: http://github.com/sqlalchemy/mako (by zzzeek)

    https://www.makotemplates.org/ are also nice in that they have a return functionality which lets you exit templates early, which is nicer than big if/else statements in Jinja

  • Pyramid

    Pyramid - A Python web framework

    Pyramid (https://trypyramid.com/) is nice in that it has URL dispatch predicates, like @view_config(header="HX-Target-Name=foo") which lets you have HTMX-specific view functions, which return only what is needed

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Using Python to Dump Data into Django Models for Testing Frontend or API Endpoints:A Complete Django REST API Tutorial

    3 projects | dev.to | 12 Jul 2024
  • But how do I do this in Python?

    3 projects | /r/Python | 21 May 2023
  • Jinja and Django Jinja

    2 projects | /r/Python | 3 Mar 2023
  • Tips for building a clean REST API in Django

    4 projects | dev.to | 10 Dec 2022
  • Hide mysql connection from app users

    2 projects | /r/learnpython | 25 Nov 2022

Did you konow that Python is
the 2nd most popular programming language
based on number of metions?