html5witchOffers Pythonic HTML5 generation based on xmlwitch | |
Download |
html5witch Ranking & Summary
Advertisement
html5witch Tags
html5witch Description
Offers Pythonic HTML5 generation based on xmlwitch html5witch offers Pythonic HTML5 generation based on xmlwitch. BSD-licensed.Usage:>>> import html5witch>>> doc = html5witch.Builder()>>> with doc.html:... with doc.head:... doc.title('Title')... with doc.body:... doc.p('Hello World')... with doc.form(action="/", method="post"):... doc.input(type="input", name="my_input_field")...>>> print(doc)< !doctype html >< html > < head > < meta charset="utf-8" > < title >Title< /title > < /head > < body > < p >Hello World< /p > < form action="/" method="post" > < input type="input" name="my_input_field" > < /form > < /body >< /html >Setup:pip install html5witch # oreasy_install html5witch # orcd xmlwitch-0.2; python setup.py installcd html5witch-0.2; python setup.py install Requirements: · Python
html5witch Related Software