Module Expr Str Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore TupleLoad IfExp NameLoad NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Assign AttributeStore NameLoad attr NameStore BoolOpOr NameLoad Str If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults IfExp CompareIn NameLoad NameLoad Call SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str BoolOpOr AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str IfExp Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str If BoolOpAnd NameLoad BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad Str NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp TupleLoad NameLoad Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIn Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameStore Call NameLoad NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpOr Call AttributeLoad NameLoad attr Str UnaryOpNot Call NameLoad NameLoad body Continue Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list
N/A N/A 
===========
flask_redis
===========

Simple as dead support of Redis database for Flask apps.

 N/A inspect N/A sys N/A N/A N/A urllib.parse urlparse N/A N/A N/A ImportError N/A N/A urlparse redis StrictRedis werkzeug.utils import_string N/A __all__ N/A Redis N/A __author Igor Davydenko N/A __license__ BSD License N/A __version__ 0.6 N/A IS_PY3 N/A N/A N/A sys version_info N/A 0 3 N/A string_types N/A N/A IS_PY3 str basestring Redis N/A object N/A N/A Simple as dead support of Redis database for Flask apps. __init__ N/A N/A self app config_prefix N/A None None N/A N/A Initialize Redis extension for Flask application.

        If ``app`` argument provided then initialize redis connection using
        application config values.

        If no ``app`` argument provided you should do initialization later with
        :meth:`init_app` method.

        Generally extension expects configuration to be prefixed with ``REDIS``
        config prefix, to customize things pass different ``config_prefix``
        here or on calling :meth:`init_app` method. For example, if you have
        URL to Redis in ``CACHE_URL`` config key, you should pass
        ``config_prefix='CACHE'`` to extension.

        :param app: :class:`flask.Flask` application instance.
        :param config_prefix: Config prefix to use. By default: ``REDIS``
         N/A N/A app None N/A N/A N/A N/A self init_app app config_prefix N/A init_app N/A N/A self app config_prefix N/A None N/A N/A 
        Actual method to read redis settings from app configuration, initialize
        Redis connection and copy all public connection methods to current
        instance.

        :param app: :class:`flask.Flask` application instance.
        :param config_prefix: Config prefix to use. By default: ``REDIS``
         N/A N/A redis N/A app extensions N/A N/A N/A N/A app extensions N/A redis N/A N/A N/A self config_prefix config_prefix N/A config_prefix REDIS N/A N/A config_prefix N/A N/A app extensions N/A redis N/A N/A N/A ValueError N/A N/A Already registered config prefix {0!r}. format config_prefix N/A converters N/A port int N/A convert N/A N/A N/A arg value N/A N/A N/A arg converters N/A N/A converters N/A arg value value N/A key N/A N/A N/A suffix N/A N/A N/A {0}_{1} format config_prefix suffix N/A klass N/A N/A N/A app config get N/A key CLASS StrictRedis N/A N/A isinstance klass string_types N/A N/A klass N/A import_string klass N/A url N/A N/A N/A app config get N/A key URL N/A url N/A N/A N/A N/A N/A urlparse uses_netloc append redis N/A url N/A N/A urlparse urlparse url N/A N/A N/A app config N/A N/A key HOST N/A url hostname N/A N/A N/A app config N/A N/A key PORT N/A N/A url port 6379 N/A N/A N/A app config N/A N/A key USER N/A url username N/A N/A N/A app config N/A N/A key PASSWORD N/A url password N/A db N/A N/A N/A url path replace / N/A N/A N/A app config N/A N/A key DB N/A N/A N/A db isdigit db None N/A host N/A N/A N/A app config get N/A key HOST N/A N/A host N/A N/A N/A host startswith file:// N/A N/A host startswith / N/A N/A N/A N/A N/A app config pop N/A key HOST N/A N/A N/A app config N/A N/A key UNIX_SOCKET_PATH host N/A args N/A N/A N/A inspect getargspec N/A klass __init__ args N/A N/A N/A args remove self N/A kwargs N/A dict N/A N/A arg N/A convert arg N/A N/A app config N/A N/A key N/A N/A arg upper N/A arg args N/A N/A key N/A N/A arg upper N/A app config N/A N/A self connection connection N/A klass kwargs N/A N/A N/A N/A app extensions N/A redis N/A config_prefix connection N/A N/A N/A self _include_public_methods connection N/A _include_public_methods N/A N/A self connection N/A N/A N/A Include public methods from Redis connection to current instance.

        :param connection: Redis connection instance.
         N/A attr N/A dir connection N/A N/A value N/A getattr connection attr N/A N/A N/A N/A attr startswith _ N/A N/A callable value N/A N/A N/A N/A N/A self __dict__ N/A attr value N/A N/A