Skip to content

byteface/htmlx

Repository files navigation

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