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.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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file webobentrypoints-0.1.0.zip
.
File metadata
- Download URL: webobentrypoints-0.1.0.zip
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec4685ba796ad4e43919412e3c6b6a3bdfe8222a513a52245821804cde6d2881 |
|
MD5 | 071c61dc1448d3253053ec0438988343 |
|
BLAKE2b-256 | ad5fcda080e63aa3e1c87a63ce974856c4049d6d1cd1aea8a6fbf1418fbc9efd |