Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A simple framework for Google App Engine (like Sinatra)?

Is there a simple 'wrapper' framework for appengine? Something like Sinatra or Juno? So that one can write code like the following:

from juno import *

@route('/')
def index(web):
    return 'Juno says hi'

run()

UPDATE: I want to use the Python API (not Java) in GAE.

like image 957
Sridhar Ratnakumar Avatar asked Oct 20 '09 01:10

Sridhar Ratnakumar


People also ask

What is Google App Engine?

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.

How do I install Google App Engine?

You can download the Google App Engine SDK by going to: http://code.google.com/appengine/downloads.html and download the appropriate install package. Download the Windows installer – the simplest thing is to download it to your Desktop or another folder that you remember.

What is service App Engine?

An App Engine app is made up of a single application resource that consists of one or more services. Each service can be configured to use different runtimes and to operate with different performance settings. Within each service, you deploy versions of that service.

What are the advantages of Google App Engine?

The main benefits of Google App Engine are: Open and familiar languages and tools: Users can build and deploy apps quickly using popular languages or bring their own language runtimes and frameworks, they can also manage resources from the command line, debug source code, and run API back ends easily.


2 Answers

There are several frameworks either specifically for App Engine, or well suited to it:

  • web.py - Not specifically for App Engine, but well suited.
  • Google App Engine Oil
  • web2py - Also not specifically for App Engine
  • pyxer
  • kay
  • tipfy
like image 186
Nick Johnson Avatar answered Oct 13 '22 11:10

Nick Johnson


No such framework has been released at this time, to the best of my knowledge (most people appear to be quite happy with Django I guess;-). You could try using Juno with this patch -- it doesn't seem to be quite ready for prime time, but then again, it IS a pretty tiny patch, maybe little more is needed to allow Juno to work entirely on GAE!

like image 20
Alex Martelli Avatar answered Oct 13 '22 12:10

Alex Martelli