2 points · by u84u · 2mo ago · 1 comment
doc = Document()
html = Html()
body = Body()
doc.append_child(html)
html.append_child(body)
page = Div(class_="container")
page.append_child(Text("Hello from Palestine"))
body.append_child(page)
print(doc)
https://github.com/u84u/palestine
GitHub - u84u/palestine: python DOM and SSR HTML rendering library
python DOM and SSR HTML rendering library. Contribute to u84u/palestine development by creating an account on GitHub.
GitHub