Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Pyjamas-Desktop-0.01.tar.gz (62.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

Pyjamas_Desktop-0.01-py2.5.egg (166.6 kB view details)

Uploaded Egg

Pyjamas-Desktop-0.01.linux-x86_64.tar.gz (150.6 kB view details)

Uploaded Source

File details

Details for the file Pyjamas-Desktop-0.01.tar.gz.

File metadata

File hashes

Hashes for Pyjamas-Desktop-0.01.tar.gz
Algorithm Hash digest
SHA256 d5d68a055a7e3de1cd86710f06295c385224aeb62d7f319e98b2cb48a2739797
MD5 b1d2820212b5dfb5573b82dd41ab3b56
BLAKE2b-256 37419c9fd00ed071c7516ad4a327272635b10fae3860d67bce223c2f95b15b29

See more details on using hashes here.

File details

Details for the file Pyjamas_Desktop-0.01-py2.5.egg.

File metadata

File hashes

Hashes for Pyjamas_Desktop-0.01-py2.5.egg
Algorithm Hash digest
SHA256 985a1089863244d4975fc436c8c54bf1b5c5a76c4f449f34902351f790210b1e
MD5 a96fc24c6b1407f4c5a9cd1b44388854
BLAKE2b-256 1171c5263f07db8a555396d83fae4cb610e8ccdaa362257feec723db899f9da0

See more details on using hashes here.

File details

Details for the file Pyjamas-Desktop-0.01.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for Pyjamas-Desktop-0.01.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 8f0f5789696167f9942aa3b93ef36304a437f97a499bfe987a494f2ea2f8437d
MD5 80f1a05240b54e0a983c6b2b024382a4
BLAKE2b-256 ddc923767a1d0703dd0ef8da69f0e6219bd1947153947036294f4fba2ec0df72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page