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-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


Download files

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

Source Distribution

webobentrypoints-0.1.0.zip (19.6 kB view details)

Uploaded Source

File details

Details for the file webobentrypoints-0.1.0.zip.

File metadata

File hashes

Hashes for webobentrypoints-0.1.0.zip
Algorithm Hash digest
SHA256 ec4685ba796ad4e43919412e3c6b6a3bdfe8222a513a52245821804cde6d2881
MD5 071c61dc1448d3253053ec0438988343
BLAKE2b-256 ad5fcda080e63aa3e1c87a63ce974856c4049d6d1cd1aea8a6fbf1418fbc9efd

See more details on using hashes here.

Supported by

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