Skip to content

Commit fe80a08

Browse files
Update best-of list for version 2026.02.05 (#37)
Co-authored-by: hasansezertasan <13135006+hasansezertasan@users.noreply.github.com>
1 parent 5deead1 commit fe80a08

4 files changed

Lines changed: 126 additions & 29 deletions

File tree

README.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
<p align="center">
1212
<a href="https://best-of.org" title="Best-of Badge"><img src="http://bit.ly/3o3EHNN"></a>
13-
<a href="#Contents" title="Project Count"><img src="https://img.shields.io/badge/projects-70-blue.svg?color=5ac4bf"></a>
13+
<a href="#Contents" title="Project Count"><img src="https://img.shields.io/badge/projects-71-blue.svg?color=5ac4bf"></a>
1414
<a href="#Contribution" title="Contributions are welcome"><img src="https://img.shields.io/badge/contributions-welcome-green.svg"></a>
1515
<a href="https://github.com/hasansezertasan/awesome-python-html/releases" title="Best-of Updates"><img src="https://img.shields.io/github/release-date/hasansezertasan/awesome-python-html?color=green&label=updated"></a>
1616
</p>
1717

18-
This curated list contains 70 awesome open-source projects with a total of 13K stars grouped into 4 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to open an [issue](https://github.com/hasansezertasan/awesome-python-html/issues/new/choose), submit a [pull request](https://github.com/hasansezertasan/awesome-python-html/pulls), or directly edit the [projects.yaml](https://github.com/hasansezertasan/awesome-python-html/edit/main/projects.yaml). Contributions are very welcome!
18+
This curated list contains 71 awesome open-source projects with a total of 13K stars grouped into 4 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to open an [issue](https://github.com/hasansezertasan/awesome-python-html/issues/new/choose), submit a [pull request](https://github.com/hasansezertasan/awesome-python-html/pulls), or directly edit the [projects.yaml](https://github.com/hasansezertasan/awesome-python-html/edit/main/projects.yaml). Contributions are very welcome!
1919

2020
> 🧙‍♂️ Discover other [best-of lists](https://best-of.org) or [create your own](https://github.com/best-of-lists/best-of/blob/main/create-best-of-list.md).
2121
@@ -32,7 +32,7 @@ Why use Python to generate HTML...
3232
## Contents
3333

3434
- [Miscellaneous](#miscellaneous) _0 projects_
35-
- [HTML Generation](#html-generation) _61 projects_
35+
- [HTML Generation](#html-generation) _62 projects_
3636
- [HTML Form Generation](#html-form-generation) _4 projects_
3737
- [Related Projects](#related-projects) _4 projects_
3838
- [Others](#others) _1 projects_
@@ -79,13 +79,13 @@ _Projects for generating HTML_
7979
</details>
8080
<details><summary><b><a href="https://github.com/pelme/htpy">htpy</a></b> (🥇20 · ⭐ 420) - Generate HTML in Python. <code><a href="http://bit.ly/34MBwT8">MIT</a></code></summary>
8181

82-
- [GitHub](https://github.com/pelme/htpy) (👨‍💻 17 · 🔀 28 · 📦 66 · 📋 41 - 12% open · ⏱️ 07.12.2025):
82+
- [GitHub](https://github.com/pelme/htpy) (👨‍💻 17 · 🔀 29 · 📦 67 · 📋 41 - 12% open · ⏱️ 07.12.2025):
8383

8484
```
8585
git clone https://github.com/pelme/htpy
8686
```
8787
</details>
88-
<details><summary><b><a href="https://github.com/getludic/ludic">ludic</a></b> (🥇17 · ⭐ 880) - A type-safe HTML template engine for Python. Build dynamic web pages using.. <code><a href="http://bit.ly/34MBwT8">MIT</a></code></summary>
88+
<details><summary><b><a href="https://github.com/getludic/ludic">ludic</a></b> (🥇16 · ⭐ 880 · 📉) - A type-safe HTML template engine for Python. Build dynamic web pages.. <code><a href="http://bit.ly/34MBwT8">MIT</a></code></summary>
8989

9090
- [GitHub](https://github.com/getludic/ludic) (👨‍💻 10 · 🔀 20 · 📥 450 · 📦 15 · 📋 31 - 54% open · ⏱️ 06.01.2026):
9191

@@ -101,47 +101,34 @@ _Projects for generating HTML_
101101
git clone https://github.com/codelv/enaml-web
102102
```
103103
</details>
104-
<details><summary><b><a href="https://github.com/tvst/htbuilder">htbuilder</a></b> (🥈14 · ⭐ 100 · 💤) - A purely-functional HTML builder for Python. Think JSX rather.. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code></summary>
105-
106-
- [GitHub](https://github.com/tvst/htbuilder) (👨‍💻 4 · 🔀 13 · 📦 5.2K · 📋 3 - 66% open · ⏱️ 09.01.2025):
107-
108-
```
109-
git clone https://github.com/tvst/htbuilder
110-
```
111-
</details>
112-
<details><summary><b><a href="https://github.com/dropbox/pyxl">pyxl</a></b> (🥈12 · ⭐ 550 · 💤) - A Python extension for writing structured and reusable inline HTML. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code></summary>
113-
114-
- [GitHub](https://github.com/dropbox/pyxl) (👨‍💻 48 · 🔀 35 · ⏱️ 14.01.2025):
115-
116-
```
117-
git clone https://github.com/dropbox/pyxl
118-
```
119-
</details>
120-
<details><summary>Show 55 hidden projects...</summary>
104+
<details><summary>Show 58 hidden projects...</summary>
121105

122106
- <b><a href="https://github.com/Knio/dominate">dominate</a></b> (🥇23 · ⭐ 1.8K · 💀) - Dominate is a Python library for creating and manipulating HTML documents..
123107
- <b><a href="https://github.com/byteface/domonic">domonic</a></b> (🥇15 · ⭐ 140 · 💀) - Create HTML with python 3 using a standard DOM API. Includes a python port..
124108
- <b><a href="https://github.com/volfpeter/markyp">markyp</a></b> (🥈12 · ⭐ 40 · 💤) - Python 3 tools for creating markup documents.
125109
- <b><a href="https://github.com/Hrabal/TemPy">TemPy</a></b> (🥇16 · ⭐ 140 · 💀) - Python Object Oriented Html Templating System. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
126110
- <b><a href="https://github.com/leforestier/yattag">yattag</a></b> (🥇15 · ⭐ 350 · 💀) - Python library to generate HTML or XML in a readable, concise.. <code>❗Unlicensed</code>
111+
- <b><a href="https://github.com/tvst/htbuilder">htbuilder</a></b> (🥈14 · ⭐ 100 · 💀) - A purely-functional HTML builder for Python. Think JSX rather.. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
127112
- <b><a href="https://github.com/tylerbakke/MarkupPy">MarkupPy</a></b> (🥈14 · ⭐ 11 · 💤) - MarkupPy - An HTML/XML generator. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
128113
- <b><a href="https://github.com/BrainStormYourWayIn/sierra">sierra</a></b> (🥈13 · ⭐ 91) - A Pythonic wraparound of HTML/CSS/JS. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
129114
- <b><a href="https://github.com/sanic-org/html5tagger">html5tagger</a></b> (🥈13 · ⭐ 32 · 💀) - Create HTML documents from Python. <code><a href="http://bit.ly/3rvuUlR">Unlicense</a></code>
115+
- <b><a href="https://github.com/dropbox/pyxl">pyxl</a></b> (🥈12 · ⭐ 550 · 💀) - A Python extension for writing structured and reusable inline HTML. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
130116
- <b><a href="https://github.com/apiad/auditorium">auditorium</a></b> (🥈12 · ⭐ 83 · 💀) - An HTML+CSS+JS generator from pure Python code. <code>❗Unlicensed</code>
131117
- <b><a href="https://github.com/basxsoftwareassociation/htmlgenerator">htmlgenerator</a></b> (🥈11 · ⭐ 42 · 💀) - TL;DR DOM on the server-side. <code><a href="http://bit.ly/3aKzpTv">BSD-3</a></code>
132118
- <b><a href="https://github.com/pyxl4/pyxl4">pyxl4</a></b> (🥈10 · ⭐ 89 · 💀) - Extend Python syntax with HTML. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
133119
- <b><a href="https://github.com/miyakogi/wdom">wdom</a></b> (🥈10 · ⭐ 75 · 💀) - Web technology based GUI library for desktop applications. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
120+
- <b><a href="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 72 · 💤) - DSL for HTML that targets marimo and more!. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
134121
- <b><a href="https://github.com/jaimevp54/htmlBuilder">htmlBuilder</a></b> (🥈10 · ⭐ 38 · 💀) - A beautiful html builder built with python. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
135122
- <b><a href="https://github.com/jpsca/jinjax-ui">jinjax-ui</a></b> (🥈10 · ⭐ 21 · 💤) - JinjaX UI components. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
136123
- <b><a href="https://github.com/vchan/hyperscript">hyperscript</a></b> (🥈10 · ⭐ 11 · 💀) - HyperText with Python. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
137124
- <b><a href="https://github.com/Parnassius/domify">domify</a></b> (🥈10 · ⭐ 7) - HTML generator using pure Python. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
138-
- <b><a href="https://github.com/koaning/mohtml">mohtml</a></b> (🥈9 · ⭐ 71) - DSL for HTML that targets marimo and more!. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
139125
- <b><a href="https://github.com/Michael-F-Ellis/htmltree">htmltree</a></b> (🥈9 · ⭐ 35 · 💀) - Generalized nested html element tree with recursive rendering. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
140126
- <b><a href="https://github.com/LiftoffSoftware/htmltag">htmltag</a></b> (🥈9 · ⭐ 22 · 💀) - A Python (2 *and* 3) module for wrapping whatever strings you want.. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
141127
- <b><a href="https://github.com/MohammadrezaAmani/INUI">INUI</a></b> (🥈9 · ⭐ 21 · 💤) - Powerful and Highly Customizable Python Library for UI. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
142128
- <b><a href="https://github.com/srittau/python-htmlgen">python-htmlgen</a></b> (🥈9 · ⭐ 18 · 💀) - Python HTML 5 Generator. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
143129
- <b><a href="https://github.com/pcarbonn/fast_html">fast_html</a></b> (🥉8 · ⭐ 110 · 💤) - Generate HTML conveniently and efficiently in Python. <code><a href="http://bit.ly/37RvQcA">❗️LGPL-3.0</a></code>
144130
- <b><a href="https://github.com/cenkalti/pyhtml">pyhtml</a></b> (🥉8 · ⭐ 75 · 💀) - HTML generation library for Python. <code>❗Unlicensed</code>
131+
- <b><a href="https://github.com/DavidVujic/python-hiccup">python-hiccup</a></b> (🥉8 · ⭐ 73 · ➕) - a Python implementation of the Hiccup syntax. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
145132
- <b><a href="https://github.com/keithasaurus/simple_html">simple_html</a></b> (🥉8 · ⭐ 51) - fast, templateless html generation. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
146133
- <b><a href="https://github.com/mosquito/tagz">tagz</a></b> (🥉8 · ⭐ 7) - tagz is a html tags builder. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
147134
- <b><a href="https://github.com/CheeseCake87/pyhead">pyhead</a></b> (🥉8 · ⭐ 4) - The Python HTML head filler. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
@@ -160,7 +147,7 @@ _Projects for generating HTML_
160147
- <b><a href="https://github.com/quadrant-newmedia/html_generators">html_generators</a></b> (🥉5 · ⭐ 9 · 💀) - Functional, streaming HTML generation. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
161148
- <b><a href="https://github.com/lxndrdagreat/phlex">phlex</a></b> (🥉5 · 💀) - Simple, flexible static HTML builder written in Python. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
162149
- <b><a href="https://github.com/maxpert/htmxido">htmxido</a></b> (🥉4 · ⭐ 21 · 💀) - HTMX generation in Python 3 using DSL. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
163-
- <b><a href="https://github.com/niklasf/python-tinyhtml">python-tinyhtml</a></b> (🥉4 · ⭐ 20 · 💤) - A tiny library to safely render compact HTML5 from.. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
150+
- <b><a href="https://github.com/niklasf/python-tinyhtml">python-tinyhtml</a></b> (🥉4 · ⭐ 20 · 💀) - A tiny library to safely render compact HTML5 from.. <code><a href="http://bit.ly/3nYMfla">Apache-2</a></code>
164151
- <b><a href="https://github.com/rohitgirdhar/PyHTMLWriter">PyHTMLWriter</a></b> (🥉4 · ⭐ 5 · 💀) - HTML Writer in Python. <code>❗Unlicensed</code>
165152
- <b><a href="https://github.com/Strovsk/pytagtree">pytagtree</a></b> (🥉4 · ⭐ 1 · 💀) - Create markup tag trees using python code with component like structure. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
166153
- <b><a href="https://github.com/ClimenteA/htmgem">htmgem</a></b> (🥉3 · ⭐ 4 · 💀) - Generate HTML with Python. <code>❗Unlicensed</code>
@@ -183,7 +170,7 @@ _Projects for generating HTML_
183170

184171
_Projects for generating HTML forms_
185172

186-
<details><summary><b><a href="https://github.com/pallets-eco/wtforms">wtforms</a></b> (🥇29 · ⭐ 1.6K · 📈) - A flexible forms validation and rendering library for Python. <code><a href="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
173+
<details><summary><b><a href="https://github.com/pallets-eco/wtforms">wtforms</a></b> (🥇29 · ⭐ 1.6K) - A flexible forms validation and rendering library for Python. <code><a href="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
187174

188175
- [GitHub](https://github.com/pallets-eco/wtforms) (👨‍💻 170 · 🔀 400 · 📥 38 · 📦 260K · 📋 470 - 13% open · ⏱️ 15.01.2026):
189176

@@ -205,7 +192,7 @@ _Projects for generating HTML forms_
205192

206193
_Projects for related to HTML generation_
207194

208-
<details><summary><b><a href="https://github.com/pydantic/FastUI">fastui</a></b> (🥇25 · ⭐ 8.9K · 📈) - Build better UIs faster.</summary>
195+
<details><summary><b><a href="https://github.com/pydantic/FastUI">fastui</a></b> (🥇24 · ⭐ 9K · 📉) - Build better UIs faster.</summary>
209196

210197

211198
---

history/2026-02-05_changes.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## 📈 Trending Up
2+
3+
_Projects that have a higher project-quality score compared to the last update. There might be a variety of reasons, such as increased downloads or code activity._
4+
5+
- <b><a href="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 72 · 💤) - DSL for HTML that targets marimo and more!. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
6+
7+
## 📉 Trending Down
8+
9+
_Projects that have a lower project-quality score compared to the last update. There might be a variety of reasons such as decreased downloads or code activity._
10+
11+
- <b><a href="https://github.com/pydantic/FastUI">fastui</a></b> (🥇24 · ⭐ 9K · 📉) - Build better UIs faster.
12+
- <b><a href="https://github.com/getludic/ludic">ludic</a></b> (🥇16 · ⭐ 880 · 📉) - A type-safe HTML template engine for Python. Build dynamic web pages.. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
13+
14+
## ➕ Added Projects
15+
16+
_Projects that were recently added to this best-of list._
17+
18+
- <b><a href="https://github.com/DavidVujic/python-hiccup">python-hiccup</a></b> (🥉8 · ⭐ 73 · ➕) - a Python implementation of the Hiccup syntax. <code><a href="http://bit.ly/34MBwT8">MIT</a></code>
19+

0 commit comments

Comments
 (0)