Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A mini-site for checking Google's Gmail feed with Oauth.
Python
branch: master
Failed to load latest commit information.
lib Upgraded to latest checkout of Flask
static Fixed focus outline in webkit
templates
.gitignore Initial commit
AUTHORS Initial commit
LICENSE Initial commit
README.rst
app.yaml
application.py
index.yaml
oauth_utils.py Initial commit
requirements.pip Initial commit
runner.py Initial commit
secrets.py.example
tests.py Initial commit

README.rst

A mini-site for checking Google's GMail feed with Oauth. See a live example at http://emailed-me.appspot.com

Setup

Copy secrets.py.example to secrets.py and fill in the necessary information.

  • SECRET_KEY is used by Flask. Run import os; os.random(24) and paste its results
  • CONSUMER_KEY and CONSUMER_SECRET will work as is, or you can register your app and get a key/secret from Google
  • TEST_GOOGLE_EMAIL and TEST_GOOGLE_PASSWORD can be used to test your application, but aren't required otherwise.

Run

To run using the App Engine SDK, simply run:

dev_appserver.py .

within this directory.

To run outside of App Engine, either:

  • add lib to your PYTHONPATH, or
  • pip install -r requirements.pip

then run:

python application.py

Test (optional)

Testing is done using Twill. It is easiest to install the requirements via pip install -r requirements.pip, then run:

python tests.py
Something went wrong with that request. Please try again.