Pyramid Configuration Introspection

Asset overrides

asset override foo:static -> foo:static2

override_with
'foo:static2'
to_override
'foo:static'

Source

Line 9 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/__init__.py:
config.override_asset('foo:static', 'foo:static2')

Permissions

permission __no_permission_required__

value
'__no_permission_required__'

Source

Line 8 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/__init__.py:
config.add_static_view('static', 'static', cache_max_age=3600)

References

Renderer factories

renderer factory function pyramid.chameleon_text.renderer_factory

factory
<function renderer_factory at 0x1a87578>
name
'.txt'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

renderer factory function pyramid.chameleon_zpt.renderer_factory

factory
<function renderer_factory at 0x1c6dde8>
name
'.pt'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

References

renderer factory function pyramid.mako_templating.renderer_factory

factory
<function renderer_factory at 0x1c6eaa0>
name
'.mak'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

renderer factory function pyramid.mako_templating.renderer_factory

factory
<function renderer_factory at 0x1c6eaa0>
name
'.mako'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

References

renderer factory function pyramid.renderers.json_renderer_factory

factory
<function json_renderer_factory at 0x1a842a8>
name
'json'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

renderer factory function pyramid.renderers.string_renderer_factory

factory
<function string_renderer_factory at 0x1a84320>
name
'string'

Source

Line 355 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_renderer(name, renderer)

Root factories

root factory class foo.resources.Root

factory
<class 'foo.resources.Root'>

Source

Line 396 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.set_root_factory(root_factory)

Routes

route ___debug_toolbar/static/ (pattern: '_debug_toolbar/static/*subpath')

name
'___debug_toolbar/static/'
object
<pyramid.urldispatch.Route object at 0x24787d0>
pattern
'_debug_toolbar/static/*subpath'

Source

Line 53 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_static_view('_debug_toolbar/static', STATIC_PATH)

References

route debugtoolbar.root (pattern: '/_debug_toolbar')

name
'debugtoolbar.root'
object
<pyramid.urldispatch.Route object at 0x2478810>
pattern
'/_debug_toolbar'
static
True

Source

Line 58 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_route(ROOT_ROUTE_NAME, '/_debug_toolbar', static=True)

route debugtoolbar.source (pattern: '/_debug_toolbar/source')

name
'debugtoolbar.source'
object
<pyramid.urldispatch.Route object at 0x2478890>
pattern
'/_debug_toolbar/source'

Source

Line 59 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_route('debugtoolbar.source', '/_debug_toolbar/source')

References

route debugtoolbar.execute (pattern: '/_debug_toolbar/execute')

name
'debugtoolbar.execute'
object
<pyramid.urldispatch.Route object at 0x2478910>
pattern
'/_debug_toolbar/execute'

Source

Line 60 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_route('debugtoolbar.execute', '/_debug_toolbar/execute')

References

route debugtoolbar.console (pattern: '/_debug_toolbar/console')

name
'debugtoolbar.console'
object
<pyramid.urldispatch.Route object at 0x2478950>
pattern
'/_debug_toolbar/console'

Source

Line 61 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_route('debugtoolbar.console', '/_debug_toolbar/console')

References

route debugtoolbar.exception (pattern: '/_debug_toolbar/exception')

name
'debugtoolbar.exception'
object
<pyramid.urldispatch.Route object at 0x2478990>
pattern
'/_debug_toolbar/exception'

Source

Line 62 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_route(EXC_ROUTE_NAME, '/_debug_toolbar/exception')

References

route debugtoolbar.sql_select (pattern: '/_debug_toolbar/sqlalchemy/sql_select')

name
'debugtoolbar.sql_select'
object
<pyramid.urldispatch.Route object at 0x24789d0>
pattern
'/_debug_toolbar/sqlalchemy/sql_select'

Source

Line 64 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
'/_debug_toolbar/sqlalchemy/sql_select')

References

route debugtoolbar.sql_explain (pattern: '/_debug_toolbar/sqlalchemy/sql_explain')

name
'debugtoolbar.sql_explain'
object
<pyramid.urldispatch.Route object at 0x2478a10>
pattern
'/_debug_toolbar/sqlalchemy/sql_explain'

Source

Line 66 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
'/_debug_toolbar/sqlalchemy/sql_explain')

References

route debugtoolbar.introspection_index (pattern: '/_debug_toolbar/introspection')

name
'debugtoolbar.introspection_index'
object
<pyramid.urldispatch.Route object at 0x2478a50>
pattern
'/_debug_toolbar/introspection'

Source

Line 68 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
'/_debug_toolbar/introspection')

References

route __static/ (pattern: 'static/*subpath')

name
'__static/'
object
<pyramid.urldispatch.Route object at 0x2478f90>
pattern
'static/*subpath'

Source

Line 8 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/__init__.py:
config.add_static_view('static', 'static', cache_max_age=3600)

References

Subscribers

subscriber function pyramid_debugtoolbar.toolbar.beforerender_subscriber

interfaces
(<class 'pyramid.events.BeforeRender'>)
subscriber
<function beforerender_subscriber at 0x20280c8>

Source

Line 57 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
'pyramid.events.BeforeRender')

Templates

template pyramid_debugtoolbar:templates/console.mako

name
'pyramid_debugtoolbar:templates/console.mako'
renderer
<pyramid.renderers.RendererHelper object at 0x240a610>
type
'.mako'

Source

Line 89 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

template pyramid_debugtoolbar.panels:templates/sqlalchemy_select.mako

name
'pyramid_debugtoolbar.panels:templates/sqlalchemy_select.mako'
renderer
<pyramid.renderers.RendererHelper object at 0x240a710>
type
'.mako'

Source

Line 117 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

template pyramid_debugtoolbar.panels:templates/sqlalchemy_explain.mako

name
'pyramid_debugtoolbar.panels:templates/sqlalchemy_explain.mako'
renderer
<pyramid.renderers.RendererHelper object at 0x240a810>
type
'.mako'

Source

Line 153 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

template pyramid_debugtoolbar:templates/introspection_index.mako

name
'pyramid_debugtoolbar:templates/introspection_index.mako'
renderer
<pyramid.renderers.RendererHelper object at 0x240a910>
type
'.mako'

Source

Line 198 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

template templates/mytemplate.pt

name
'templates/mytemplate.pt'
renderer
<pyramid.renderers.RendererHelper object at 0x246df10>
type
'.pt'

Source

Line 4 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/views.py:
@view_config(context=Root, renderer='templates/mytemplate.pt')

References

Translation directories

translation directory foo:locale

directory
'/home/chrism/projects/pyramid/env26/introspect/foo/foo/locale'
spec
'foo:locale'

Source

Line 10 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/__init__.py:
config.add_translation_dirs('foo:locale')

Tweens

implicit tween pyramid.tweens.excview_tween_factory

factory
<function excview_tween_factory at 0x1ad7b18>
name
'pyramid.tweens.excview_tween_factory'
over
'MAIN'
type
'implicit'

Source

Line 104 of file /home/chrism/projects/pyramid/pyramid/config/tweens.py:
explicit=False)

implicit tween pyramid_debugtoolbar.toolbar_tween_factory

factory
<function toolbar_tween_factory at 0x2027410>
name
'pyramid_debugtoolbar.toolbar_tween_factory'
type
'implicit'

Source

Line 104 of file /home/chrism/projects/pyramid/pyramid/config/tweens.py:
explicit=False)

Views

view function pyramid.httpexceptions.default_exceptionresponse_view

callable
<function default_exceptionresponse_view at 0x180db90>
context
<InterfaceClass pyramid.interfaces.IExceptionResponse>
derived_callable
<function default_exceptionresponse_view at 0x1daa500>

Source

Line 359 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_view(exceptionresponse_view, context=IExceptionResponse)

view function pyramid.httpexceptions.default_exceptionresponse_view

callable
<function default_exceptionresponse_view at 0x180db90>
context
<class 'webob.exc.WSGIHTTPException'>
derived_callable
<function default_exceptionresponse_view at 0x1daa488>

Source

Line 360 of file /home/chrism/projects/pyramid/pyramid/config/__init__.py:
self.add_view(exceptionresponse_view,context=WebobWSGIHTTPException)

view object <pyramid.static.static_view object at 0x23a6510>

callable
<pyramid.static.static_view object at 0x23a6510>
derived_callable
<function <pyramid.static.static_view object at 0x23a6510> at 0x2479410>
route_name
'___debug_toolbar/static/'

Source

Line 53 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/__init__.py:
config.add_static_view('_debug_toolbar/static', STATIC_PATH)

References

view method 'exception' of class pyramid_debugtoolbar.views.ExceptionDebugView

attr
'exception'
callable
<class 'pyramid_debugtoolbar.views.ExceptionDebugView'>
derived_callable
<function ExceptionDebugView at 0x2479de8>
route_name
'debugtoolbar.exception'

Source

Line 50 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view method 'source' of class pyramid_debugtoolbar.views.ExceptionDebugView

attr
'source'
callable
<class 'pyramid_debugtoolbar.views.ExceptionDebugView'>
derived_callable
<function ExceptionDebugView at 0x247d0c8>
route_name
'debugtoolbar.source'

Source

Line 61 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view method 'execute' of class pyramid_debugtoolbar.views.ExceptionDebugView

attr
'execute'
callable
<class 'pyramid_debugtoolbar.views.ExceptionDebugView'>
derived_callable
<function ExceptionDebugView at 0x247d320>
route_name
'debugtoolbar.execute'

Source

Line 74 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view method 'console' of class pyramid_debugtoolbar.views.ExceptionDebugView

attr
'console'
callable
<class 'pyramid_debugtoolbar.views.ExceptionDebugView'>
derived_callable
<function ExceptionDebugView at 0x247d578>
route_name
'debugtoolbar.console'

Source

Line 89 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view method 'sql_select' of class pyramid_debugtoolbar.views.SQLAlchemyViews

attr
'sql_select'
callable
<class 'pyramid_debugtoolbar.views.SQLAlchemyViews'>
derived_callable
<function SQLAlchemyViews at 0x247d7d0>
route_name
'debugtoolbar.sql_select'

Source

Line 117 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view method 'sql_explain' of class pyramid_debugtoolbar.views.SQLAlchemyViews

attr
'sql_explain'
callable
<class 'pyramid_debugtoolbar.views.SQLAlchemyViews'>
derived_callable
<function SQLAlchemyViews at 0x247da28>
route_name
'debugtoolbar.sql_explain'

Source

Line 153 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view function pyramid_debugtoolbar.views.introspection_index

callable
<function introspection_index at 0x23f9f50>
derived_callable
<function introspection_index at 0x247dc80>
route_name
'debugtoolbar.introspection_index'

Source

Line 198 of file /home/chrism/projects/pyramid_debugtoolbar/pyramid_debugtoolbar/views.py:
custom_predicates=(valid_host,)

References

view object <pyramid.static.static_view object at 0x240aad0>

callable
<pyramid.static.static_view object at 0x240aad0>
derived_callable
<function <pyramid.static.static_view object at 0x240aad0> at 0x247dde8>
route_name
'__static/'

Source

Line 8 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/__init__.py:
config.add_static_view('static', 'static', cache_max_age=3600)

References

view function foo.views.my_view

callable
<function my_view at 0x246b050>
context
<class 'foo.resources.Root'>
derived_callable
<function my_view at 0x247df50>

Source

Line 4 of file /home/chrism/projects/pyramid/env26/introspect/foo/foo/views.py:
@view_config(context=Root, renderer='templates/mytemplate.pt')

References