Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
The flask object implements a WSGI application and acts as the central
object.  It is passed the name of the module or package of the
application.  Once it is created it will act as a central registry for
the view functions, the URL rules, template configuration and much more.

The name of the package is used to resolve resources from inside the
package or the folder the module is contained in depending on if the
package parameter resolves to an actual python package (a folder with
an `__init__.py` file inside) or a standard module (just a `.py` file).

src/l/o/logy-0.1/logy/views/sink.py   logy(Download)
import datetime

from flask import Module, request, abort

from logy.core import app
from logy.models import database, tables
# sink for logging records

src/l/o/logy-0.1/logy/views/frontend.py   logy(Download)
from flask import Module, flash, abort
from flaskext.genshi import render_response
from logy.core import app
from logy.auth import requires_auth

src/l/o/logy-0.1/logy/models/database.py   logy(Download)
from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from logy.core import app

src/l/o/logy-0.1/logy/scripts.py   logy(Download)
def run_logy():
    from logy.core import app

src/l/o/logy-0.1/logy/auth.py   logy(Download)
# from http://flask.pocoo.org/snippets/8/
from functools import wraps
from flask import request, Response
from logy.core import app