nowfound

Dev tools · alternatives · 2026

24 alternatives to Htpy – generate HTML from Python without templates

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!

Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Htpy – generate HTML from Python without templates launched in 2024; newer entries below may have overtaken it.

  1. 1

    There are a lot of Python to web app frameworks going around these days but I wanted something that was a little more lightweight that just generates HTML pages and can be embedded in Flask or other Python web servers incrementally. PyVibe uses Python components to construct a page with styling that you can use in Flask, in a static site, or even in Pyodide.

    2023 · pyvibe.com · its alternatives →

  2. 2HH
  3. 3UG

    Hi all, I'm currently working on my hobby project, and one of the fun constraints I put in was to build using as less dependencies as possible. I chose Go as it has a really good standard library, and all went well for building backend. But for frontend, I was wondering whether I should break the constraint and go for React. I tried options like Web Components, but I really didn't like the ergonomics and I didn't want to use jQuery either. Out of curiosity, I was exploring Go's html/template package to see if I can write UIs in a React-like manner. I found most of the online docs using…

    2024 · its alternatives →

  4. 4

    Learn how to build a web app with Python and Django

    2018 · hellowebbooks.com · its alternatives →

  5. 5

    Home - Django Cotton: build reusable server-side UI components in single HTML files, no Python required, fully interoperable with Django templates.

    2024 · django-cotton.com · its alternatives →

  6. 6

    Template-less HTML rendering in Python

    2022 · pypi.org · its alternatives →

  7. 7

    Render HTML to PDF without the headache of infrastructure

    2021 · its alternatives →

  8. 8

    Collection of beautiful free HTML templates

    2017 · its alternatives →

  9. 9

    Build Django APIs at startup speed

    2025 · djapy.io · its alternatives →

  10. 10

    Simple, lightweight, and magic-free static site/blog generator for Python coders - sunainapai/makesite

    2018 · github.com · its alternatives →

  11. 11MD

    A couple of years ago I wrote Hello Web App (http://hellowebapp.com) to teach beginner Django web app development. It's aimed at non-programmers and designers, and walks folks through building and deploying a basic web app. I'm working on my third book to teach web design fundamentals to programmers (Hello Web Design: https://www.kickstarter.com/projects/1868398473/hello-web-design-design-basics-for-non-designers), so I've made Hello Web App free online during the Kickstarter campaign for the new book. The full Hello Web App tutorial can be accessed here:…

    2017 · its alternatives →

  12. 12

    Generate email template code with dynamic JSON data or API

    2019 · dynamic-template.xyz · its alternatives →

  13. 13IW

    Hey HN, I wrote a book teaching beginner web app development using Django, launching on May 4th (successfully Kickstarted last year.) Website: http://hellowebapp.com Highlights: - Aimed at people who have previous HTML/building websites experience. - Template-first development: see the web app as a website first, before setting up databases and models. - Generic “collection of things” tutorial. Readers are encouraged to create something using this rubric that means something to them (a blog, a directory of people, etc.) Adding creativity will make the material stick better. -…

    2015 · its alternatives →

  14. 14WO

    Wagtail is a new, open-source Django CMS focused on flexibility and user experience. It was originally built for the Royal College of Art, but now we're able to share it with everyone. See https://github.com/torchbox/wagtail and http://wagtail.io (marketing site) and http://www.rca.ac.uk/ (first big site built on Wagtail) We're really proud of the user interface, and we hope that Wagtail will make it easy for Django developers to build beautiful, modern sites. Feedback very welcome! Tom Dyson, Technical Director at Torchbox (Wagtail developers)

    2014 · its alternatives →

  15. 15
    fastht.ml▲123

    Modern web applications in pure Python

    2024 · fastht.ml · its alternatives →

  16. 16

    Template tag library for building building javascript templates using django templates - louissobel/django-jsmetatemplates

    2012 · github.com · its alternatives →

  17. 17

    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.

    2024 · github.com · its alternatives →

  18. 18

    Hey everyone! I just released v1.0.0 of gomponents last week. It's an HTML component builder in pure Go, with a DSL-like HTML syntax. It's been 4 years in the making, and makes it really easy to build HTML in your web apps.

    2024 · gomponents.com · its alternatives →

  19. 19

    A Pythonic wraparound of HTML/CSS/JS. Contribute to BrainStormYourWayIn/sierra development by creating an account on GitHub.

    2021 · github.com · its alternatives →

  20. 20

    I love Streamlit but have run into many situation where taking it from PoC to MVP state is insurmountable. With all the recent HN hype around htmx and sematic html / classless css I decided to build a Streamlit alternative using these on top of FastAPI. This has a couple advantages: 1) easier to extend when you move past PoC since the FastAPI app is exposed (allowing adding more routes) and hstream acts more like a typical web stack 2) with htmx and html (plus MVP.css) doing the heavy lifting the package is alot less complex and easier to reason about - and hopefully more performant…

    2022 · github.com · its alternatives →

  21. 21HH

    This is hyTags, a programming language embedded in HTML for building interactive web UIs. It started as a way to write full-stack web apps in Swift without a separate frontend, but grew into a small language with control flow, functions, and async handling via HTML tags. The result is backend language-agnostic and can be generated from any server that can produce HTML via templates or DSLs.

    Jan 2026 · hytags.org · its alternatives →

  22. 22AD
  23. 23

    Spicy templating for node and the browser inspired by Twig, Dust.JS and Hogan.JS - deoxxa/node-ginger

    2012 · github.com · its alternatives →

  24. 24IM

    I'm writing a book which teaches Python/Django web app development for non-programmers, and fundraising on Kickstarter (passed minimum funding, 2 days left): http://hellowebapp.com https://www.kickstarter.com/projects/1868398473/hello-web-app-intro-to-building-web-apps-with-djan It's basically the process I used to teach myself programming as a web designer a few years back, which I then launched a small web app (infant-version of WeddingInviteLove.com), which has grown into my bootstrapped startup which supports me full-time (WeddingLovely.com). Most…

    2014 · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →