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 68 awesome open-source projects with a total of 10K 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 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!
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)_59 projects_
35
+
-[HTML Generation](#html-generation)_62 projects_
36
36
-[HTML Form Generation](#html-form-generation)_4 projects_
@@ -91,33 +91,41 @@ _Projects for generating HTML_
91
91
92
92
---
93
93
</details>
94
-
<details><summary><b><ahref="https://github.com/lxml/lxml">lxml</a></b> (🥇33 · ⭐ 2.9K · ➕) - The lxml XML toolkit for Python. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code></summary>
94
+
<details><summary><b><ahref="https://github.com/lxml/lxml">lxml</a></b> (🥇33 · ⭐ 2.9K) - 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 · ⭐ 860 · ➕) - A type-safe HTML template engine for Python. Build dynamic web pages.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code></summary>
102
+
<details><summary><b><ahref="https://github.com/pelme/htpy">htpy</a></b> (🥇19 · ⭐ 390 · ➕) - Generate HTML in Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code></summary>
<details><summary><b><ahref="https://github.com/getludic/ludic">ludic</a></b> (🥇15 · ⭐ 860 · 📉) - 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/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/basxsoftwareassociation/htmlgenerator">htmlgenerator</a></b> (🥈11 · ⭐ 41 · 💤) - TL;DR DOM on the server-side. <code><ahref="http://bit.ly/3aKzpTv">BSD-3</a></code>
- <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/cenkalti/pyhtml">pyhtml</a></b> (🥈9 · ⭐ 75 · 💀) - HTML generation library for Python. <code>❗Unlicensed</code>
158
+
- <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>
159
+
- <b><ahref="https://github.com/CheeseCake87/pyhead">pyhead</a></b> (🥈10 · ⭐ 4 · 📈) - The Python HTML head filler. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
160
+
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈9 · ⭐ 53 · ➕) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
152
161
- <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>
153
162
- <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>
154
-
- <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>
155
-
- <b><ahref="https://github.com/Parnassius/domify">domify</a></b> (🥈9 · ⭐ 7 · ➕) - HTML generator using pure Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
156
-
- <b><ahref="https://github.com/CheeseCake87/pyhead">pyhead</a></b> (🥈9 · ⭐ 1 · ➕) - The Python HTML head filler. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
157
-
- <b><ahref="https://github.com/pcarbonn/fast_html">fast_html</a></b> (🥉8 · ⭐ 80 · ➕) - Generate HTML conveniently and efficiently in Python. <code><ahref="http://bit.ly/37RvQcA">❗️LGPL-3.0</a></code>
158
-
- <b><ahref="https://github.com/ejplatform/hyperpython">hyperpython</a></b> (🥉7 · ⭐ 58 · 💀) - A small DSL to write HTML in Python. <code>❗Unlicensed</code>
163
+
- <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 · ⭐ 100) - Generate HTML conveniently and efficiently in Python. <code><ahref="http://bit.ly/37RvQcA">❗️LGPL-3.0</a></code>
166
+
- <b><ahref="https://github.com/cenkalti/pyhtml">pyhtml</a></b> (🥉8 · ⭐ 75 · 💀) - HTML generation library for Python. <code>❗Unlicensed</code>
167
+
- <b><ahref="https://github.com/ejplatform/hyperpython">hyperpython</a></b> (🥉7 · ⭐ 59 · 💀) - A small DSL to write HTML in Python. <code>❗Unlicensed</code>
159
168
- <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>
160
169
- <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>
161
-
- <b><ahref="https://github.com/mwd1993/QuykHtml">QuykHtml</a></b> (🥉6 · ⭐ 19 · ➕) - A python library that allows you to quickly and easily generate HTML.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
170
+
- <b><ahref="https://github.com/mwd1993/QuykHtml">QuykHtml</a></b> (🥉6 · ⭐ 19) - A python library that allows you to quickly and easily generate HTML.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
162
171
- <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>
172
+
- <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>
163
173
- <b><ahref="https://github.com/mosquito/tagz">tagz</a></b> (🥉6 · ⭐ 6 · 💀) - tagz is a html tags builder. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
164
-
- <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>
174
+
- <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>
165
175
- <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>
166
176
- <b><ahref="https://github.com/mdamien/lys">lys</a></b> (🥉5 · ⭐ 77 · 💀) - Simple HTML templating for Python. <code>❗Unlicensed</code>
167
177
- <b><ahref="https://github.com/SimonSapin/html5ever-python">html5ever-python</a></b> (🥉5 · ⭐ 41 · 💀) - Python bindings for html5ever, using CFFI. <code>❗Unlicensed</code>
- <b><ahref="https://github.com/ndendic/RustyTags">rusty-tags</a></b> (🥉5 · ⭐ 7 · 🐣) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
171
181
- <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>
172
182
- <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>
173
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>
@@ -194,17 +204,17 @@ _Projects for generating HTML_
194
204
195
205
_Projects for generating HTML forms_
196
206
197
-
<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>
207
+
<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> (🥈20 · ⭐ 420 · ➕) - A Python HTML form library. <code>❗Unlicensed</code>
217
+
- <b><ahref="https://github.com/Pylons/deform">deform</a></b> (🥈20 · ⭐ 420) - A Python HTML form library. <code>❗Unlicensed</code>
208
218
- <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>
209
219
- <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>
210
220
</details>
@@ -216,7 +226,7 @@ _Projects for generating HTML forms_
0 commit comments