{ "info": { "author": "Jonas Galvez", "author_email": "jonasgalvez@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries", "Topic :: Text Processing :: Markup :: HTML" ], "description": "html5witch offers Pythonic HTML5 generation based on xmlwitch. BSD-licensed.\n\nUsage\n`````\n\n::\n\n >>> import html5witch\n >>> doc = html5witch.Builder()\n >>> with doc.html:\n ... with doc.head:\n ... doc.title('Title')\n ... with doc.body:\n ... doc.p('Hello World')\n ... with doc.form(action=\"/\", method=\"post\"):\n ... doc.input(type=\"input\", name=\"my_input_field\")\n ... \n >>> print(doc)\n \n \n
\n \nHello World
\n \n \n \n\nSetup\n`````\n\n::\n\n $ pip install html5witch # or\n $ easy_install html5witch # or\n $ cd xmlwitch-0.2.1; python setup.py install\n $ cd html5witch-0.2.1; python setup.py install\n\nLinks\n`````\n\n* `Full documentation