Questions tagged [pyjamas]

Pyjamas is a port of Google Web Toolkit to Python, featuring a Python debugging environment and desktop deployment option, and compilation to JavaScript for web/device deployment.

Pyjamas implements the Google Web Toolkit (GWT) widgets (V1.0 at the moment) as Python (2.5 or 2.6 for now) objects. These objects may be run inside the Pyjamas desktop (Pyjd), or compiled to JavaScript (through Pyjs, the Python-to-JavaScript compiler, part of the Pyjamas project) for deployment on the web and/or devices.

Support for developers is available through the Pyjamas developer mail list, which is subscribed/unsubscribed only through email:

  • pyjamasdev-unsubscribe@pyjs.org

    • Send to this address to unsubscribe from the list.
  • pyjamasdev-nomail@pyjs.org

    • Send to this address to receive no mail from the list. You will still be subscribed (and can use the web interface to post messages). http://lists.pyjs.org/mail
  • pyjamasdev-mail@pyjs.org

    • Send to this re-enable mail receipt from the list.

Note that read-only access to the mail list is available through Google Groups.

Developers on the mail list have recently described plans to move to the current version of GWT, and include tools for deployment.

48 questions
2
votes
2 answers

python pyjamas install on debian

i have installed pyjamas on debian http://pyjs.org/getting_started.html however my program does not find the module, what could be the problem, i have installed pyjamas correctly using apt-get krisdigitx-virtual-machine ~ # python jamas.py…
krisdigitx
  • 6,507
  • 17
  • 56
  • 91
2
votes
1 answer

pyjamas vs pyqt OR GWT

I am not a web application pro but need to start working on a project so I need to know if pyjamas ( or shall I say the javascript generated o/p of pyjamas ) is as good as pyqt in terms of 2d graphics and widget features. I have a desktop python…
Shyam
  • 577
  • 2
  • 6
  • 18
2
votes
1 answer

Easy secure JSON-RPC in python

What's the simplest way to set up a JSON-RPC server in python and make it secure? I'm very interested Pyjamas for python/javascript - but the documentation doesn't explain how to implement security with the JSON-RPC.
MKaras
  • 1,893
  • 1
  • 18
  • 34
2
votes
1 answer

How to call Unix command through pyjamas

I am trying to create web based system using pyjamas and hangs on one functionality. The functionality is, to click a button and it should run some python programs in back-end. I have to display the logs generated by back-end python program in the…
vicky
  • 83
  • 1
  • 5
2
votes
4 answers

rich web client vs thin web client

I have one design decision to make. In my web(ajax) application we need to decide where should we put user interface logic ? Should It be completely loaded via javascript ( pure single page ) . and Only data comes and go. or Should server send…
iamgopal
  • 7,549
  • 5
  • 34
  • 51
1
vote
2 answers

Can I find out the result of javascript in Python?

I'm now making a web crawler. getting a link from HTML is easy part but acquiring a link from the result of javascript is not easy for me. Can I get the result of javascript so as to know where a link is referred to? for example. How can I retrieve…
Anderson
  • 2,762
  • 3
  • 27
  • 41
1
vote
1 answer

function definition in eval

I try to define a function with a variable name. Names are retrieved from a database. For every name I want to define a button and have separate handling: title=['BNL','CE'] for i in range(0,len(title)): panelvpu.add(Button(title[i])) for i in…
Richard
  • 135
  • 2
  • 10
1
vote
1 answer

Pyjamas and Django static files setup

I am somewhat new to both web development and new to the Django and Pyjamas frameworks. So I appreciate any patience offered to me as I learn. I am setting up Django and Pyjamas to work together, JSONRPC Client/Server + Django templates. I have the…
1
vote
2 answers

How to get the margin between menu items in pyjamas or gwt?

I have implemented a MenuBar using pyjamas as: from pyjamas.ui.RootPanel import RootPanel from pyjamas.ui.Composite import Composite from pyjamas.ui.MenuBar import MenuBar class Menubar(Composite): def __init__(self): …
consumer
  • 689
  • 2
  • 7
  • 19
1
vote
1 answer

pyjd/hulahop/pyxpcom: how to fire onchange event from python/C++

I'm using pyjd/hulahop/pyxpcom to load a HTML document with an input field, this input field is bound with "onchange=...." to some JS function doing some AJAX call. The html looks like this: ...
resi
  • 1,600
  • 1
  • 12
  • 14
1
vote
2 answers

GWT/Pyjamas canvas pixel manipulation

I want to do some pixel level image manipulation for the HTML5 canvas through GWT or pyjamas. I know one way to do this in JavaScript is to use the contexts' createImageData() function to create an ImageData object, which lets you access pixel…
Johnny
  • 11
  • 1
1
vote
1 answer

Python Script convert to Chrome Extension

I wrote a Python script that easily automates something that a lot of students in my university do daily. I'd like to give it to everyone with minimal effort on their side, so I'm thinking of uploading the script into a google chrome extension that…
segue_segway
  • 1,370
  • 1
  • 17
  • 32
1
vote
1 answer

pyjamas - pyjsbuild error due to DistributionNotFound

I am trying to build the HelloWorld example page from the Pyjamas example folder. However I am receiving this error when I run: sudo pyjsbuild helloworld.py. This error seems pretty universal to python as it seems to be related to the…
Michael Lorenzo
  • 600
  • 10
  • 20
1
vote
1 answer

NameError: global name 'e' is not defined(pyjamas)

i am installed pyjamas as yum install pyjamas on fedora19 The following file i executed hello.py from pyjamas.ui.RootPanel import RootPanel from pyjamas.ui.Label import Label l = Label('Hello pyjs') RootPanel().add(l) when i am building the js…
Shiva
  • 888
  • 2
  • 13
  • 31
1
vote
1 answer

Implementing a simple web browser with wxPython

I'm wondering if it is possible to implement a very simple web browser with wxPython, I know you can use wx.html.LoadPage() function but it does not work very well, I want a basic standalone/browser just like the following code (image link) written…
Saf Rockz
  • 35
  • 2
  • 6