PasteDeploy entry points for WebOb WSGI apps and filters.
Project description
PasteDeploy entry points for WebOb WSGI apps
Free software: BSD license
Documentation: https://webobentrypoints.readthedocs.org.
Features
WebOb includes several WSGI apps that you can use as a part of your application. However, it does not include ready to use entry points for usage in PasteDeploy ini files, for usage with for example [Gearbox](https://pypi-hypernode.com/pypi/gearbox)
This module provides these entry points and the small wrappers needed.
The entry points provided are:
egg:webobentrypoints#staticdir
Example usage
Here is an example of a ini file configuration using the staticdir and the proxy apps:
[server:main] use = egg:gearbox#wsgiref host = 0.0.0.0 port = 5000 [composite:main] use = egg:rutter#urlmap /static = static / = content # Serve the /static directory from local disk [app:static] use = egg:webobentrypoints#staticdir path = %(here)s/theme # Otherwise display http://webob.org/ as the content [app:content] use = egg:webobentrypoints#proxy address = http://webob.org/ suppress_http_headers = accept-encoding connection
History
0.1.0 (2014-09-25)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.