WSGI application for the zope.publisher package
Python
Latest commit 1496bea Dec 21, 2016 @jamadden jamadden committed on GitHub Merge pull request #6 from zopefoundation/pypy
Add support for PyPy
Permalink
Failed to load latest commit information.
src/zope Break writing into two lines per request. Dec 21, 2016
.coveragerc
.gitignore Update gitignore Sep 28, 2016
.travis.yml
CHANGES.rst Add support for PyPy Dec 16, 2016
COPYRIGHT.txt
LICENSE.txt Conform to repository policy Dec 28, 2010
MANIFEST.in Include .coveragerc in sdist. Aug 8, 2016
README.rst Rename files to match contents. Dec 14, 2016
bootstrap.py
buildout.cfg Use released final versions of zope.app.appsetup and zope.app.publica… Aug 8, 2016
setup.py Add support for PyPy Dec 16, 2016
tox.ini Add support for PyPy Dec 16, 2016

README.rst

This package provides the WSGIPublisherApplication class which exposes the object publishing machinery in zope.publisher as a WSGI application. It also lets us bring up the Zope application server (parsing zope.conf and site.zcml) with a mere function call:

>>> db = zope.app.wsgi.config('zope.conf')

This is especially useful for debugging.

To bring up Zope and obtain the WSGI application object at the same time, use the getWSGIApplication function.

This package also provides an easy to use application factory for PasteDeploy. You can simply specify an application configuration like this in your Paste configuration file:

[app:main]
use = egg:zope.app.wsgi
config_file = %(here)s/zope.conf

Look for more documentation inside the package itself.