htmlx
A small python dom and html creation utility.
from htmlx import html, body, h1
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>
install
python3 -m pip install htmlx
run tests
See the Makefile
A small python dom and html creation utility.
from htmlx import html, body, h1
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>
python3 -m pip install htmlx
See the Makefile