WebElements is an Open Source project covered by the GNU General Public License V2 created and maintained by Timothy Edmund Crosley. It's A python framework to generate html and JavaScript from reusable and combine-able widgets.
For more info goto: http://www.webelements.in/