You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
19
19
20
20
> 🧙♂️ 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).
21
21
@@ -32,7 +32,7 @@ Why use Python to generate HTML...
32
32
## Contents
33
33
34
34
-[Miscellaneous](#miscellaneous)_0 projects_
35
-
-[HTML Generation](#html-generation)_61 projects_
35
+
-[HTML Generation](#html-generation)_62 projects_
36
36
-[HTML Form Generation](#html-form-generation)_4 projects_
<details><summary><b><ahref="https://github.com/getludic/ludic">ludic</a></b> (🥇17 · ⭐ 880) - A type-safe HTML template engine for Python. Build dynamic web pages using.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code></summary>
88
+
<details><summary><b><ahref="https://github.com/getludic/ludic">ludic</a></b> (🥇16 · ⭐ 880 · 📉) - A type-safe HTML template engine for Python. Build dynamic web pages.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code></summary>
- <b><ahref="https://github.com/Knio/dominate">dominate</a></b> (🥇23 · ⭐ 1.8K · 💀) - Dominate is a Python library for creating and manipulating HTML documents..
123
107
- <b><ahref="https://github.com/byteface/domonic">domonic</a></b> (🥇15 · ⭐ 140 · 💀) - Create HTML with python 3 using a standard DOM API. Includes a python port..
- <b><ahref="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><ahref="https://github.com/tvst/htbuilder">htbuilder</a></b> (🥈14 · ⭐ 100 · 💀) - A purely-functional HTML builder for Python. Think JSX rather.. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
- <b><ahref="https://github.com/BrainStormYourWayIn/sierra">sierra</a></b> (🥈13 · ⭐ 91) - A Pythonic wraparound of HTML/CSS/JS. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
129
114
- <b><ahref="https://github.com/sanic-org/html5tagger">html5tagger</a></b> (🥈13 · ⭐ 32 · 💀) - Create HTML documents from Python. <code><ahref="http://bit.ly/3rvuUlR">Unlicense</a></code>
115
+
- <b><ahref="https://github.com/dropbox/pyxl">pyxl</a></b> (🥈12 · ⭐ 550 · 💀) - A Python extension for writing structured and reusable inline HTML. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
130
116
- <b><ahref="https://github.com/apiad/auditorium">auditorium</a></b> (🥈12 · ⭐ 83 · 💀) - An HTML+CSS+JS generator from pure Python code. <code>❗Unlicensed</code>
131
117
- <b><ahref="https://github.com/basxsoftwareassociation/htmlgenerator">htmlgenerator</a></b> (🥈11 · ⭐ 42 · 💀) - TL;DR DOM on the server-side. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code>
- <b><ahref="https://github.com/miyakogi/wdom">wdom</a></b> (🥈10 · ⭐ 75 · 💀) - Web technology based GUI library for desktop applications. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
120
+
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 72 · 💤) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
134
121
- <b><ahref="https://github.com/jaimevp54/htmlBuilder">htmlBuilder</a></b> (🥈10 · ⭐ 38 · 💀) - A beautiful html builder built with python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
- <b><ahref="https://github.com/Parnassius/domify">domify</a></b> (🥈10 · ⭐ 7) - HTML generator using pure Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
138
-
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈9 · ⭐ 71) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
139
125
- <b><ahref="https://github.com/Michael-F-Ellis/htmltree">htmltree</a></b> (🥈9 · ⭐ 35 · 💀) - Generalized nested html element tree with recursive rendering. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
140
126
- <b><ahref="https://github.com/LiftoffSoftware/htmltag">htmltag</a></b> (🥈9 · ⭐ 22 · 💀) - A Python (2 *and* 3) module for wrapping whatever strings you want.. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
141
127
- <b><ahref="https://github.com/MohammadrezaAmani/INUI">INUI</a></b> (🥈9 · ⭐ 21 · 💤) - Powerful and Highly Customizable Python Library for UI. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
- <b><ahref="https://github.com/mosquito/tagz">tagz</a></b> (🥉8 · ⭐ 7) - tagz is a html tags builder. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
147
134
- <b><ahref="https://github.com/CheeseCake87/pyhead">pyhead</a></b> (🥉8 · ⭐ 4) - The Python HTML head filler. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
@@ -160,7 +147,7 @@ _Projects for generating HTML_
- <b><ahref="https://github.com/lxndrdagreat/phlex">phlex</a></b> (🥉5 · 💀) - Simple, flexible static HTML builder written in Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
162
149
- <b><ahref="https://github.com/maxpert/htmxido">htmxido</a></b> (🥉4 · ⭐ 21 · 💀) - HTMX generation in Python 3 using DSL. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
163
-
- <b><ahref="https://github.com/niklasf/python-tinyhtml">python-tinyhtml</a></b> (🥉4 · ⭐ 20 · 💤) - A tiny library to safely render compact HTML5 from.. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
150
+
- <b><ahref="https://github.com/niklasf/python-tinyhtml">python-tinyhtml</a></b> (🥉4 · ⭐ 20 · 💀) - A tiny library to safely render compact HTML5 from.. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
164
151
- <b><ahref="https://github.com/rohitgirdhar/PyHTMLWriter">PyHTMLWriter</a></b> (🥉4 · ⭐ 5 · 💀) - HTML Writer in Python. <code>❗Unlicensed</code>
165
152
- <b><ahref="https://github.com/Strovsk/pytagtree">pytagtree</a></b> (🥉4 · ⭐ 1 · 💀) - Create markup tag trees using python code with component like structure. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
166
153
- <b><ahref="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_
183
170
184
171
_Projects for generating HTML forms_
185
172
186
-
<details><summary><b><ahref="https://github.com/pallets-eco/wtforms">wtforms</a></b> (🥇29 · ⭐ 1.6K · 📈) - A flexible forms validation and rendering library for Python. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
173
+
<details><summary><b><ahref="https://github.com/pallets-eco/wtforms">wtforms</a></b> (🥇29 · ⭐ 1.6K) - A flexible forms validation and rendering library for Python. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
_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><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 72 · 💤) - DSL for HTML that targets marimo and more!. <code><ahref="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._
0 commit comments