Skip to content

Instantly share code, notes, and snippets.

@sirn
Created December 31, 2013 09:17
Show Gist options
  • Save sirn/8194397 to your computer and use it in GitHub Desktop.
Save sirn/8194397 to your computer and use it in GitHub Desktop.
Python 3.2.3 (default, Sep 25 2013, 18:22:43)
[GCC 4.6.3] on linux2
Type "help" for more information.
Environment:
app The WSGI application.
registry Active Pyramid registry.
request Active request object.
root Root of the default resource tree.
root_factory Default root factory used to create `root`.
>>> from pkg_resources import get_provider
>>> get_provider('pyramid_debugtoolbar')
<pkg_resources.NullProvider object at 0x4c86d90>
>>>
Python 3.2.3 (default, Sep 25 2013, 18:22:43)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pkg_resources import get_provider
>>> get_provider('pyramid_debugtoolbar')
<pkg_resources.DefaultProvider object at 0x7f12db38a710>
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment