Skip to main content

PasteDeploy entry points for WebOb WSGI apps and filters.

Project description

https://badge.fury.io/py/webobentrypoints.png https://travis-ci.org/regebro/webobentrypoints.png?branch=master https://pypip.in/d/webobentrypoints/badge.png

PasteDeploy entry points for WebOb WSGI apps

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.python.org/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

Download files

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

Files for webobentrypoints, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size webobentrypoints-0.1.0.zip (19.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page