Pyjamas is a port of Google’s Web Toolkit to Python (GWT is a Java to AJAX compiler and Web-based Applications Widget set, where Pyjamas is a Python to AJAX compiler). More Info
The overall translation of individual components is managed by build which also creates the necessary boilerplate code. The result is a set of.html and .js files that can be served up by a Web server.
There are other components planned which have not been covered here such as server-side code for communication in client-server applications. The examples do however contain JSONRPC server-side source code (in cgi python, and php) which give an idea of what’s involved.
The Pyjamas Widget set, documented here is exceptionally comprehensive and yet is easy to use, providing:
If the available widgets and the addon contributed widgets are not enough, then there is a simple tutorial on how to create your own widget. The underlying basis of all widgets is to encapsulate manipulation of an HTML DOM model, representing the screen.
Additional features, thanks to the underlying use of webkit, include:
Full CSS Stylesheet functionality, both local, remote and direct and simple API manipulation.
Loading of complete HTML Pages, both local and remote; full URL support.
Plugin support for multimedia plugins such as Flash (obsoleting the need for gtk-mozplugin)
Access to XML, XSLT and AJAX.
(Future: full SVG Canvas support, like HippoCanvas)