Skip to main content

WSGI application for the zope.publisher

Project description

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. Here’s an example of a factory a la PasteDeploy:

def application_factory(global_conf):
    zope_conf = os.path.join(global_conf['here'], 'zope.conf')
    return zope.app.wsgi.getWSGIApplication(zope_conf)

Changes

3.4.2 (2009-09-10)

  • Support product configuration sections in Zope configuration files.

3.4.1 (2008-07-30)

  • Added Trove classifiers.

  • Notify WSGIPublisherApplicationCreated event when WSGI application is created.

  • Fixed deprecation warning in ftesting.zcml: ZopeSecurityPolicy moved to zope.securitypolicy.

3.4.0 (2007-09-14)

  • Fixed the tests to run on Python 2.5 as well as Python 2.4.

  • Split getApplication into config and getApplication so that config could be reused, for example for debugging.

3.4.0a1 (2007-04-22)

Initial release as a separate project, corresponds to zope.app.wsgi from Zope 3.4.0a1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.app.wsgi-3.4.2.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file zope.app.wsgi-3.4.2.tar.gz.

File metadata

  • Download URL: zope.app.wsgi-3.4.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zope.app.wsgi-3.4.2.tar.gz
Algorithm Hash digest
SHA256 d42f14f12fdf6500f654e6549aa880fc659a95a71c81041ef5ba8c05010d55b7
MD5 a5233da11be9bcfa3fce93bfbdd37a32
BLAKE2b-256 699e2beec95269f906b43748e7bdbabd35515f565a91138f7c56a875e681bbff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page