Better project template for Google App Engine

I’ve been playing around with Google App Engine quite a bit lately. Whenever I’d create a new project, I’d start by copying and pasting a folder called “new_project_template” which is included in the software developers kit. The template contains a bare-minimum hello world script. As I made more and more apps, I realized that I always added the same things to this folder before writing the actual “guts” of the code.

I always had to fix the indents, add some basic import statements, and include my favorite web scraping library, Beautiful Soup. So I created a template of my own and named it “better_project_template” (creative? I know). The folder has the Beautiful Soup module, base.html and index.html templates, as well as some useful shortcuts added to the main.py file. Anyone interested can download this folder here for their own use.

Comments 1

  1. j conroy wrote:

    Thanks– much appreciated. you’ve saved a bit of time for me here regarding headers and includes (ie getting BSoup to work properly first time on GAE) ;)

    Posted 06 Jan 2010 at 1:40 am

Post a Comment

Your email is never published nor shared. Required fields are marked *