raptorizemw 0.2.0

Every WSGI app is better with a raptor

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Ralph Bean
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
raptorizemw - every WSGI app is better with a raptor.

Installation

You could install it yourself with pip:

pip install raptorizemw

Or you could add raptorizemw to the list of required packages in the setup.py file of your project.

Usage in TurboGears 2

Simply edit myapp/config/middleware.py and add the following to make_app(...):

# Wrap your base TurboGears 2 application with custom middleware here
import raptorizemw
app = raptorizemw.make_middleware(app)


Restart your app, but watch out for raptors!

Usage in Pyramid

Edit myapp/__init__.py and replace the return config.make_wsgi_app() line with the following:

import raptorizemw
app = config.make_wsgi_app()
app = raptorizemw.make_middleware(app)
return app


The code and bug tracker live over at http://github.com/ralphbean/raptorizemw. Please fork and improve! We need configurable options.

Last updated on September 9th, 2012

requirements

#WSGI middleware #raptorize jquery #WSGI #raptorize #jquery #middleware

Add your review!

SUBMIT