Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)
Provides decorators for authenticating users with GitHub within a Flask
application. Helper methods are also provided interacting with GitHub API.

src/g/i/github-flask-HEAD/example.py   github-flask(Download)
from flask import Flask, request, g, session, redirect, url_for
from flask import render_template_string
from flask.ext.github import GitHub
from sqlalchemy import create_engine, Column, Integer, String
# setup github-flask
github = GitHub(app)
# setup sqlalchemy

src/w/e/webcompat.com-HEAD/webcompat/__init__.py   webcompat.com(Download)
from flask import Flask, render_template
from flask.ext.github import GitHub
from flask.ext.mail import Mail
from flask_errormail import mail_on_500
github = GitHub(app)
mail = Mail(app)

src/p/y/pypi-notifier-HEAD/pypi_notifier/__init__.py   pypi-notifier(Download)
from flask import Flask, g, session, request, url_for, redirect, flash, \
    render_template, abort
from flask.ext.cache import Cache
from flask.ext.github import GitHub, GitHubError
from flask.ext.sqlalchemy import SQLAlchemy
db = SQLAlchemy()
cache = Cache()
github = GitHub()
sentry = Sentry()

src/p/y/pypi-notifier-HEAD/test.py   pypi-notifier(Download)
import unittest
from mock import patch
from flask.ext.github import GitHub