fast_html
zakuchess
fast_html | zakuchess | |
---|---|---|
2 | 2 | |
31 | 50 | |
- | - | |
6.9 | 9.0 | |
5 days ago | 6 days ago | |
Python | Python | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fast_html
- Ludic: New framework for Python with seamless Htmx support
-
htmx_gen
For an htmx project, I have written a python module to easily generate HTML (available on GitHub). It is an alternative to templating engine like Jinja2.
zakuchess
-
Ludic: New framework for Python with seamless Htmx support
It feels weird at the beginning, but after a bit of practice I found it pretty nice to write HTML in Python.
Here is an example of a HTML page layout written with the DOMinate [1] library for example, in a "JSX-like" way:
https://github.com/olivierphi/zakuchess/blob/main/src/apps/w...
It may hurt your eyes at first sight, for sure... But similarly to technologies like Tailwind CSS, it's mostly a matter of getting used to it - and after a while it end ups feeling very natural to use :-)
1: https://github.com/Knio/dominate#readme
-
Show HN: ZakuChess, an open source web game built with Django, Htmx and Tailwind
The characters' graphics come form the open source game Battle For Wesnoth.
I'm afraid my skills in terms of design are rather suboptimal, so the quality of the design is... well, let's just say it's playable ahah
The whole thing is open source: https://github.com/olivierphi/zakuchess#readme
What are some alternatives?
dominate - Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.
html5tagger - Create HTML documents from Python