Pyjamas Widget API for Desktop applications, in Python
Project description
Pyjamas-Desktop
Pyjamas-Desktop is a cross-platform framework and applications widget set, based on WebKit. PyWebkitGtk is currently the basis for Pyjamas-Desktop, and it is conceivable that there will exist a PyWebkitQt4, and Pyjamas-Desktop will run on top of that, as well.
Pyjamas-Desktop is similar to KiWi in that it provides an easy-to-use API, where you need not know - at all - that you are running PyGTK underneath.
Pyjamas-Desktop is actually a port of Pyjamas which is a web toolkit, so you also have the option of running PyjamasDesktop applications as web applications - unmodified.
The Pyjamas Widget set is exceptionally comprehensive and yet is easy to use, providing:
Simple, Horizontal, Vertical, Docking, Decking, Popup, Stack, Tab, Grid, Flow, Table and HTML Panels
Text Labels and HTML including full CSS Stylesheet support and full CSS properties
Input, Password and Textarea input boxes
List drop-downs including Multi-selection
Buttons, Checkboxes and Radio-Buttons including groups.
Form Submit Panel (providing file upload).
Treeview, Menu and Menubar (vertical and horizontal).
Additional features, thanks to the underlying use of webkit, include:
Full CSS Stylesheet functionality, both local, remote and direct and simple API manipulation.
Option of executing javascript, for full and complete manipulation of the application.
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)
It’s specifically worth noting that due to Pyjamas-Desktop’s history, it purely provides the “V” in “MVC” applications design, and that one option presently in use is the JSONRPC proxy client included, for communicating with the “MC” in the back-end of your application. In this way, the same application front-end source code can be compiled with PyJamas (into Javascript/AJAX) - with no modifications - to run with exactly the same back-end HTTP server that your Pyjamas-Desktop application uses.
Requirements
Pre-built amd64 .debs are available for download, providing pywebkitgtk-1.0, libwebkit-1.0-2 and libwebkit-dev, here:
Currently, Pyjamas-Desktop requires patched versions of both Webkit and PyWebkitGtk, as of 01-Sep-2008. The patches are here:
Documentation
The Pyjamas api is documented here:
Also, as Pyjamas is based on Google’s WebKit, the documentation for GWT 1.5 may prove useful:
Download
Pyjamas-Desktop is available for download from Pypi and Sourceforge. PLEASE NOTE that you will still need, at this point, modified versions of PyWebkitGtk and Webkit (see Requirements, above).
Source Code
Pyjamas-Desktop is available as a git repository:
git://github.com/lkcl/pyjamas-desktop.git
More information
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file Pyjamas-Desktop-0.1.tar.gz
.
File metadata
- Download URL: Pyjamas-Desktop-0.1.tar.gz
- Upload date:
- Size: 63.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d2207a4460ac357c3a5d9834f202cf22ed84836bfb1374d95a491e5e022a787 |
|
MD5 | e61e7853ecc2d64296bdef17f0dadce5 |
|
BLAKE2b-256 | 89f432745b091917705b00bc29f484ba0c234f069ee9c5225d381fd502805917 |
File details
Details for the file Pyjamas_Desktop-0.1-py2.5.egg
.
File metadata
- Download URL: Pyjamas_Desktop-0.1-py2.5.egg
- Upload date:
- Size: 168.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7955d66f76bf2d06e9f7af2d52e6bd231e33bc32a352129ac9c2cf3dabef2a |
|
MD5 | d1e0ccd98a7999331117432fbf8526ae |
|
BLAKE2b-256 | dcdef953c3b3ae63d3c9f98c1ce72c5658c31ff632ae3fd1a114f8deb2422198 |
File details
Details for the file Pyjamas-Desktop-0.1.linux-x86_64.tar.gz
.
File metadata
- Download URL: Pyjamas-Desktop-0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 152.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8bdb4bdbfc7b123346530e3fde73736ab905a6eae51478c284d8a23def01da |
|
MD5 | ffaa40ad6b20ca85474c0e757ae9b8bf |
|
BLAKE2b-256 | d457ecbb5d79a6eda007828e97696fe0d1851da2b32dc20c3d703e802cee5e4e |