Write HTML in simple way using pure Python
Switch branches/tags
Nothing to show
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
htmler
.gitignore
README.md
ex1.py
ex2.py
setup.py
test_htmler.py
test_utils.py

README.md

htmler

Write HTML in simple way using pure Python

Usage

>>> from htmler.fun import div, img, br
>>> print div(div(br(), img(alt="alt text", src="image.png")))
<div><div><br>
<img src="image.png" alt="alt text">
</div>
</div>

Installation

pip install -e "git+https://github.com/andrewboltachev/htmler.git#egg=htmler"