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 11K 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 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!
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
@@ -69,47 +69,25 @@ _If you can think of a more appropriate category for the items below, PRs welcom
69
69
70
70
_Projects for generating HTML_
71
71
72
-
<details><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..</summary>
73
-
74
-
75
-
---
76
-
77
-
<br>
78
-
79
-
_1 projects are hidden because they don't fulfill the minimal requirements._
80
-
81
-
---
82
-
</details>
83
-
<details><summary><b><ahref="https://github.com/byteface/domonic">domonic</a></b> (🥇14 · ⭐ 140 · 💤) - Create HTML with python 3 using a standard DOM API. Includes a python port..</summary>
84
-
85
-
86
-
---
87
-
88
-
<br>
89
-
90
-
_1 projects are hidden because they don't fulfill the minimal requirements._
91
-
92
-
---
93
-
</details>
94
72
<details><summary><b><ahref="https://github.com/lxml/lxml">lxml</a></b> (🥇33 · ⭐ 3K) - The lxml XML toolkit for Python. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
<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> (🥇18 · ⭐ 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
+
- <b><ahref="https://github.com/byteface/domonic">domonic</a></b> (🥇14 · ⭐ 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>
- <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>
149
129
- <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>
150
130
- <b><ahref="https://github.com/apiad/auditorium">auditorium</a></b> (🥈12 · ⭐ 83 · 💀) - An HTML+CSS+JS generator from pure Python code. <code>❗Unlicensed</code>
151
-
- <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>
131
+
- <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>
154
-
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 69) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
155
-
- <b><ahref="https://github.com/jaimevp54/htmlBuilder">htmlBuilder</a></b> (🥈10 · ⭐ 39 · 💀) - A beautiful html builder built with python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
- <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>
- <b><ahref="https://github.com/Michael-F-Ellis/htmltree">htmltree</a></b> (🥈9 · ⭐ 36 · 💀) - Generalized nested html element tree with recursive rendering. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
138
+
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈9 · ⭐ 70 · 📉) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
139
+
- <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>
160
140
- <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>
161
141
- <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/pcarbonn/fast_html">fast_html</a></b> (🥉8 · ⭐ 110 · 💤) - Generate HTML conveniently and efficiently in Python. <code><ahref="http://bit.ly/37RvQcA">❗️LGPL-3.0</a></code>
165
144
- <b><ahref="https://github.com/cenkalti/pyhtml">pyhtml</a></b> (🥉8 · ⭐ 75 · 💀) - HTML generation library for Python. <code>❗Unlicensed</code>
166
-
- <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>
- <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
+
- <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>
167
148
- <b><ahref="https://github.com/ejplatform/hyperpython">hyperpython</a></b> (🥉7 · ⭐ 58 · 💀) - A small DSL to write HTML in Python. <code>❗Unlicensed</code>
168
149
- <b><ahref="https://github.com/timothycrosley/thedom">thedom</a></b> (🥉7 · ⭐ 24 · 💀) - A python framework to generate html and JavaScript from reusable.. <code><ahref="http://bit.ly/2KucAZR">❗️GPL-2.0</a></code>
169
150
- <b><ahref="https://github.com/frodo821/Rattlepy">Rattlepy</a></b> (🥉7 · ⭐ 9 · 💀) - A easy-to-use pure python HTML template engine. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
170
-
- <b><ahref="https://github.com/ndendic/RustyTags">rusty-tags</a></b> (🥉7 · ⭐ 9 · 🐣) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
151
+
- <b><ahref="https://github.com/ndendic/RustyTags">rusty-tags</a></b> (🥉7 · ⭐ 9) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
171
152
- <b><ahref="https://github.com/mwd1993/QuykHtml">QuykHtml</a></b> (🥉6 · ⭐ 18 · 💤) - A python library that allows you to quickly and easily generate HTML.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
172
153
- <b><ahref="https://github.com/Unviray/pyplater">pyplater</a></b> (🥉6 · ⭐ 12 · 💀) - Build html component with python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
173
154
- <b><ahref="https://github.com/quokkaproject/flask-htmlbuilder">flask-htmlbuilder</a></b> (🥉6 · ⭐ 11 · 💀) - Builds HTML from Python (recovered from local.. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code>
174
-
- <b><ahref="https://github.com/mosquito/tagz">tagz</a></b> (🥉6 · ⭐ 7 · 💀) - tagz is a html tags builder. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
175
155
- <b><ahref="https://github.com/rorre/liku">liku</a></b> (🥉6 · ⭐ 5 · 💀) - Python HTML templating, inspired by modern Web Development. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
176
-
- <b><ahref="https://github.com/bitplorer/uidom">uidom</a></b> (🥉6 · ⭐ 3 · 💤) - Blade like HTML Library for Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
156
+
- <b><ahref="https://github.com/bitplorer/uidom">uidom</a></b> (🥉6 · ⭐ 3 · 💀) - Blade like HTML Library for Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
177
157
- <b><ahref="https://github.com/mdamien/lys">lys</a></b> (🥉5 · ⭐ 77 · 💀) - Simple HTML templating for Python. <code>❗Unlicensed</code>
178
-
- <b><ahref="https://github.com/SimonSapin/html5ever-python">html5ever-python</a></b> (🥉5 · ⭐ 41 · 💀) - Python bindings for html5ever, using CFFI. <code>❗Unlicensed</code>
158
+
- <b><ahref="https://github.com/SimonSapin/html5ever-python">html5ever-python</a></b> (🥉5 · ⭐ 40 · 💀) - Python bindings for html5ever, using CFFI. <code>❗Unlicensed</code>
- <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>
182
162
- <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>
183
-
- <b><ahref="https://github.com/niklasf/python-tinyhtml">python-tinyhtml</a></b> (🥉4 · ⭐ 19 · 💤) - A tiny library to safely render compact HTML5 from.. <code><ahref="http://bit.ly/3nYMfla">Apache-2</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>
184
164
- <b><ahref="https://github.com/rohitgirdhar/PyHTMLWriter">PyHTMLWriter</a></b> (🥉4 · ⭐ 5 · 💀) - HTML Writer in Python. <code>❗Unlicensed</code>
185
165
- <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>
186
166
- <b><ahref="https://github.com/ClimenteA/htmgem">htmgem</a></b> (🥉3 · ⭐ 4 · 💀) - Generate HTML with Python. <code>❗Unlicensed</code>
@@ -193,7 +173,7 @@ _Projects for generating HTML_
193
173
- <b><ahref="https://github.com/MassiminoilTrace/PythonBoostrapWebBuilder">PythonBoostrapWebBuilder</a></b> (🥉3 · 💀) - Helper class to generate simple html pages using.. <code><ahref="http://bit.ly/2M0xdwT">❗️GPL-3.0</a></code>
194
174
- <b><ahref="https://github.com/wangxl1998/Python-HTML-Parser">Python-HTML-Parser</a></b> (🥉3 · 💀) - Simple HTML DOM Parser written in python. <code>❗Unlicensed</code>
195
175
- <b><ahref="https://github.com/m-housh/bootstrap_wrapper">bootstrap_wrapper</a></b> (🥉3 · 💀) - A work in progress, a python library(almost) that uses.. <code>❗Unlicensed</code>
196
-
- <b><ahref="https://github.com/marcuwynu23/JS-templater-python">JS-templater-python</a></b> (🥉2 · ⭐ 2 · 📈) - Flask Library/Tool to use pure DOM javascript render.. <code>❗Unlicensed</code>
176
+
- <b><ahref="https://github.com/marcuwynu23/JS-templater-python">JS-templater-python</a></b> (🥉2 · ⭐ 2) - Flask Library/Tool to use pure DOM javascript render.. <code>❗Unlicensed</code>
197
177
</details>
198
178
<br>
199
179
@@ -205,15 +185,15 @@ _Projects for generating HTML forms_
205
185
206
186
<details><summary><b><ahref="https://github.com/pallets-eco/wtforms">wtforms</a></b> (🥇28 · ⭐ 1.6K) - A flexible forms validation and rendering library for Python. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
- <b><ahref="https://github.com/Pylons/deform">deform</a></b> (🥈21 · ⭐ 420 · 📈) - A Python HTML form library. <code>❗Unlicensed</code>
196
+
- <b><ahref="https://github.com/Pylons/deform">deform</a></b> (🥈20 · ⭐ 420 · 📉) - A Python HTML form library. <code>❗Unlicensed</code>
217
197
- <b><ahref="https://github.com/boardpack/reforms">reforms</a></b> (🥉5 · ⭐ 25 · 💀) - Reforms is a fresh pydantic-based forms validation and rendering library.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
218
198
- <b><ahref="https://github.com/BlitzJB/blitz-forms">blitz-forms</a></b> (🥉4 · 💀) - python library to programmatically generate html forms. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
219
199
</details>
@@ -239,7 +219,7 @@ _Projects for related to HTML generation_
- <b><ahref="https://github.com/PyHAT-stack/awesome-python-htmx">awesome-python-htmx</a></b> (🥈11 · ⭐ 1.3K · 💀) - A curated list of things related to python-based web.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
242
-
- <b><ahref="https://github.com/liveviews/liveviews">liveviews</a></b> (🥈7 · ⭐ 500 · 💤) - Phoenix LiveView workalikes for different languages and.. <code>❗Unlicensed</code>
222
+
- <b><ahref="https://github.com/liveviews/liveviews">liveviews</a></b> (🥈7 · ⭐ 500 · 💀) - Phoenix LiveView workalikes for different languages and.. <code>❗Unlicensed</code>
243
223
- <b><ahref="https://github.com/metaperl/pure-python-web-development">pure-python-web-development</a></b> (🥉6 · ⭐ 100 · 💀) - Avoid the CSS/JS/HTML soup - develop web apps.. <code>❗Unlicensed</code>
0 commit comments