GoogleAppEngine web proxy
Does anyone know of a simple open source proxy capable of running on google app engine or where to start in making one? (preferably in python, I'm trying to bypass a site blocking system) ...
Does anyone know of a simple open source proxy capable of running on google app engine or where to start in making one? (preferably in python, I'm trying to bypass a site blocking system) ...
I have tried to insert/update multiple entites on a single transaction but no avail. It always throws IllegalArgumentException. I wanted to do something like this. Transaction tx = pm.currentTransaction(); tx.begin(); for(int i=0;i<10;i++) { SampleEntity entity = new SampleEntity(i); pm.makePersistent(entity); } tx.commit();...
Lets say I have the domain: mywonderfulapp.com I would like to have a subdomain per client. For example: clientA.mywonderfulapp.com I would like client A to go to the URL clientA.mywonderfulapp.com and retrieve its data privately and client B could to go to clientB.mywonderfulapp.com to retrieve its own data. Application code sho...
I'm trying to bulkload data using appcfg.py as described here. I got it working except setting parent entity, I can't seem to find info on how to set a parent entity for entity being created by the import. Can you point me to the right direction or provide a code snippet for my bulkloader.Loader implementation? ...
While creating a new application on App Engine, I can choose whether to allow any standard Google Accounts to log into my application or limit the logins to one particular Google Apps domain. I am afraid allowing Google account only login could damage an application acceptance. Is it possible to use a simple authentication mechanisms...
I'm new to both Python and Google App Engine development and find myself at a loss on how to effectively debug my apps during development. I come from a C#/ASP.NET background where I can typically step through the code in Visual Studio. However, when using a text editor and running dev_appserver.py from a command line, I don't have the...
I'm trying to use Google App Engine with Eclipse but it's not working. I downloaded PyDev, and made a Hello World Python app, so that's working fine. Then I created a new project, with the "Google App Engine" template. I was following these instructions. I used the "Hello Webapp World" as a template, and didn't change any of the Python...
Can anyone think of a good way to allow the server to notify the client based upon server processing? For example, consider the following events: A user requests a deletion of data, however, due to it's long-running time, we kick it off to a queue. The client receives a "Yes we completed your transaction successfully". The server delet...
Generally I work with CSV files but for this project I need to support XLS too. Does anyone have experience reading XLS files on GAE with Python? 2 possible alternatives I am considering: xlrd Google Docs API ...
I'm trying to use appcfg.py to upload to localhost/Google App Engine. I've basically been following these instructions word for word, but now I'm having trouble. Here is the command I'm trying: appcfg.py upload_data --app-id=appname --config_file="path\to\ItemLoader.py" --filename="path\to\data.csv" --kind=Item --url=http://localhost:8...
Here is my loader class, ItemLoader.py: from google.appengine.ext import db from google.appengine.tools import bulkloader import models class ItemLoader(bulkloader.Loader): def __init__(self): bulkloader.Loader.__init__(self, 'Item', [('CSIN', int), # not too DRY... ('name',...
In the docs, a FutureWrapper is defined like this: FutureWrapper is a simple Future that wraps a parent Future. What's a Future, why would you need to wrap it and when would you use it in App Engine? ...
Here is a portion of my app.yaml file: handlers: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin - url: /detail/(\d)+ script: Detail.py - url: /.* script: Index.py I want that capture group (the one signified by (\d)) to be available to the script Detail.py. How can I do this? Do...
I have a website built on App Engine(Java) and need user use Google Account to login. The situation is that: User Adam has multiple accounts. User Adam login with account Adam1 and get his Adam1 data in browser page A. He clicked logout link, but opened it in another tab page B(the same browser of course) He login with another accoun...
Is there any known way to sign a plain text string with RSA private key on Google App Engine Python SDK? ...
What is the easiest way to do a GAE/J datastore backup? It looks like there is python bulkloader.py tool to do backup for Python apps, but what should I do to backup Java app? Is there any way to use python tool? ...
Some background info first: Goal: a medium-level complexity web app that I will need to maintain and possibly extend for a few years. Experience: good knowledge of python, some experience of MVC frameworks (in PHP). Desiderata: using django and google app engine. I read extensively about the compatibility issues between GAE and Djang...
This query works: item = db.GqlQuery("SELECT * FROM Item WHERE CSIN = 13")[0] although if there are no results returned, it blows up in my face. (How can I get around this? A for loop seems dubious when I want at max one iteration.) This query does not work: item = db.GqlQuery("SELECT * FROM Item WHERE CSIN = :1", CSIN)[0] CSIN is...
Perhaps I'm missing something simple, as I believe that this is a common scenario... When I am working with an object retrieved from the datastore, I want to detect any changes to the object and update the memcache. In a non-JDO scenario this would be easy, as any data logic layer would intercept all updates and thus have a chance to u...
I am going to start designing a web app shortly, and while I have lots of experience doing it in the SQL world, I have no idea what I need to take into consideration for doing so with the goal of migrating to GAE in the very near future. Alternatively, I could design the app for GAE from the start, and so in that case, what are the diff...