Ρς
DQIc @ s d d d d Z d d d d Z d d d d Z d e f d YZ d e f d YZ d e f d YZ d e f d
YZ d e f d YZ d
e f d YZ
d e f d YZ d e f d YZ d e f d YZ
d e f d YZ d S( c C s d S( s
Provided by ``paste.deploy.loadapp``.
Load the specified URI as a WSGI application (returning IWSGIApp).
The ``name`` can be in the URI (typically as ``#name``). If it is
and ``name`` is given, the keyword argument overrides the URI.
If the URI contains a relative filename, then ``relative_to`` is
used (if ``relative_to`` is not provided, then it is an error).
``global_conf`` is used to load the configuration (additions
override the values). ``global_conf`` is copied before modifying.
N( ( t urit namet relative_tot global_conf( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt loadapp s c C s d S( sm
Provided by ``paste.deploy.loadfilter``.
Like ``loadapp()``, except returns in IFilter object.
N( ( R R R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt
loadfilter s c C s d S( sm
Provided by ``paste.deploy.loadserver``.
Like ``loadapp()``, except returns in IServer object.
N( ( R R R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt
loadserver s t IPasteAppFactoryc B s e Z d Z d Z RS( sR
This is the spec for the ``paste.app_factory``
protocol/entry_point.
c K s d S( sH
Returns a WSGI application (IWSGIAPP) given the global
configuration and the local configuration passed in as keyword
arguments.
All keys are strings, but values in local_conf may not be
valid Python identifiers (if you use ``**kw`` you can still
capture these values).
N( ( R t
local_conf( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt __call__/ s ( t __name__t
__module__t __doc__R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR ( s t IPasteCompositFactoryc B s e Z d Z d Z RS( sα
This is the spec for the ``paste.composit_factory``
protocol/entry_point.
This also produces WSGI applications, like ``paste.app_factory``,
but is given more access to the context in which it is loaded.
c K s d S( sβ
Like IPasteAppFactory this returns a WSGI application
(IWSGIApp). The ``loader`` value conforms to the ``ILoader``
interface, and can be used to load (contextually) more
applications.
N( ( t loaderR R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR D s ( R
R R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR
: s t IPasteFilterFactoryc B s e Z d Z d Z RS( sU
This is the spec for the ``paste.filter_factory``
protocol/entry_point.
c K s d S( s+
Returns a IFilter object.
N( ( R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR S s ( R
R R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR L s t IPasteFilterAppFactoryc B s e Z d Z d Z RS( sY
This is the spec for the ``paste.filter_app_factory``
protocol/entry_point.
c K s d S( s·
Returns a WSGI application that wraps ``wsgi_app``.
Note that paste.deploy creates a wrapper for these
objects that implement the IFilter interface.
N( ( t wsgi_appR R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR _ s ( R
R R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR X s t IPasteServerFactoryc B s e Z d Z d Z RS( sU
This is the spec for the ``paste.server_factory``
protocol/entry_point.
c K s d S( s+
Returns a IServer object.
N( ( R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR n s ( R
R R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR g s t IPasteServerRunnerc B s e Z d Z d Z RS( sT
This is the spec for the ``paste.server_runner``
protocol/entry_point.
c K s d S( s
Serves the given WSGI application. May serve once, many
times, forever; nothing about how the server works is
specified here.
Note that paste.deploy creates a wrapper for these
objects that implement the IServer interface.
N( ( R R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR z s ( R
R R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR s s t ILoaderc B s2 e Z d Z d d Z d d Z d d Z RS( s«
This is an object passed into ``IPasteCompositFactory``. It is
currently implemented in ``paste.deploy.loadwsgi`` by
``ConfigLoader`` and ``EggLoader``.
c C s d S( s9
Return an IWSGIApp object. If the loader supports named
applications, then you can use a simple name; otherwise
you must use a full URI.
Any global configuration you pass in will be added; you should
generally pass through the global configuration you received.
N( ( t name_or_uriR ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt get_app s c C s d S( s=
Return an IFilter object, like ``get_app``.
N( ( R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt
get_filter s c C s d S( s=
Return an IServer object, like ``get_app``.
N( ( R R ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyt
get_server s N( R
R R t NoneR R R ( ( ( s; /usr/lib/python2.6/site-packages/paste/deploy/interfaces.pyR s
t IWSGIAppc B s e Z d Z d Z RS( s
This is an application that conforms to `PEP 333