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 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!
18
+
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!
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)_62 projects_
35
+
-[HTML Generation](#html-generation)_61 projects_
36
36
-[HTML Form Generation](#html-form-generation)_4 projects_
@@ -93,23 +93,23 @@ _Projects for generating HTML_
93
93
</details>
94
94
<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 · ⭐ 870 · 📈) - A type-safe HTML template engine for Python. Build dynamic web pages.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code></summary>
110
+
<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>
- <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>
146
+
- <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>
148
149
- <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>
149
-
- <b><ahref="https://github.com/BrainStormYourWayIn/sierra">sierra</a></b> (🥈12 · ⭐ 91) - A Pythonic wraparound of HTML/CSS/JS. <code><ahref="http://bit.ly/3nYMfla">Apache-2</a></code>
150
150
- <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
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>
- <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 · ⭐ 65) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
154
+
- <b><ahref="https://github.com/koaning/mohtml">mohtml</a></b> (🥈10 · ⭐ 67) - DSL for HTML that targets marimo and more!. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
155
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/Parnassius/domify">domify</a></b> (🥈10 · ⭐ 7) - HTML generator using pure Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
158
-
- <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>
- <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>
161
160
- <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>
162
161
- <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/CheeseCake87/pyhead">pyhead</a></b> (🥈9 · ⭐ 4 · 📉) - The Python HTML head filler. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
165
165
- <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>
166
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/ndendic/RustyTags">rusty-tags</a></b> (🥉8 · ⭐ 9 · 🐣) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
167
168
- <b><ahref="https://github.com/ejplatform/hyperpython">hyperpython</a></b> (🥉7 · ⭐ 58 · 💀) - A small DSL to write HTML in Python. <code>❗Unlicensed</code>
168
169
- <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
170
- <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>
@@ -180,14 +181,12 @@ _Projects for generating HTML_
180
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>
181
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>
182
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>
183
-
- <b><ahref="https://github.com/ndendic/RustyTags">rusty-tags</a></b> (🥉4 · ⭐ 9 · 🐣) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
184
184
- <b><ahref="https://github.com/rohitgirdhar/PyHTMLWriter">PyHTMLWriter</a></b> (🥉4 · ⭐ 5 · 💀) - HTML Writer in Python. <code>❗Unlicensed</code>
185
185
- <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
186
- <b><ahref="https://github.com/ClimenteA/htmgem">htmgem</a></b> (🥉3 · ⭐ 4 · 💀) - Generate HTML with Python. <code>❗Unlicensed</code>
187
187
- <b><ahref="https://github.com/Anikeshpatel/dompy">Anikeshpatel/dompy</a></b> (🥉3 · ⭐ 3 · 💀) - JavaScript Dom Api for Python, Html Parser and a Web.. <code><ahref="http://bit.ly/2M0xdwT">❗️GPL-3.0</a></code>
188
188
- <b><ahref="https://github.com/ctoscano/SliqueHTML">SliqueHTML</a></b> (🥉3 · ⭐ 2 · 💀) - Python library that lets you create HTML using DOM-like objects. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
189
189
- <b><ahref="https://github.com/scrussell24/hype-html">hype-html</a></b> (🥉3 · ⭐ 2 · 💀) - A minimal python dsl for generating html. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
190
-
- <b><ahref="https://github.com/tlonny/pdoo">pdoo</a></b> (🥉3 · ⭐ 1 · 💀) - PDOO (Python DOM Orchestrator) is a library for generating styled HTML.. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
191
190
- <b><ahref="https://github.com/butvinm/markpy">markpy</a></b> (🥉3 · ⭐ 1 · 💀) - Embedding tree markup syntax (XML) into Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
- <b><ahref="https://github.com/doctorOb/dompy">doctorOb/dompy</a></b> (🥉3 · 💀) - Javascript DOM objects in python. Parse html like you would in.. <code>❗Unlicensed</code>
@@ -226,7 +225,7 @@ _Projects for generating HTML forms_
_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/pelme/htpy">htpy</a></b> (🥇20 · ⭐ 410 · 📈) - Generate HTML in Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
6
+
- <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>
7
+
- <b><ahref="https://github.com/ndendic/RustyTags">rusty-tags</a></b> (🥉8 · ⭐ 9 · 🐣) - High-performance HTML generation library in Rust with Python.. <code>❗Unlicensed</code>
8
+
9
+
## 📉 Trending Down
10
+
11
+
_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._
- <b><ahref="https://github.com/CheeseCake87/pyhead">pyhead</a></b> (🥈9 · ⭐ 4 · 📉) - The Python HTML head filler. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
15
+
- <b><ahref="https://github.com/volfpeter/markyp-bootstrap4">markyp-bootstrap4</a></b> (🥉7 · ⭐ 19 · 💤) - Create Bootstrap 4 web pages using purely Python. <code><ahref="http://bit.ly/34MBwT8">MIT</a></code>
0 commit comments