Google Drive OAuth with AppEngine and Python

I was surprised how long it took me to get a basic web app running with the Google Drive API, so I thought I’d share the code here.

Most of the examples I found were within CLI applications. I wanted something that would run on the web, and AppEngine remains a very easy way to do that.

The majority of what you need is below, but the full project is on GitHub here: