Every WSGI app is better with a raptor.
Project description
`Raptorize` WSGI Middleware
===========================
Fact: every WSGI app is better with a velociraptor.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ralphbean/raptorizemw/raw/master/raptorizemw/resources/raptor.png
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
Credits
-------
This WSGI-fication of the raptorize jquery plugin was written
by `Ralph Bean <http://threebean.org>`_. Real credit goes to the people over at
ZURB who authored the `original jquery plugin
<http://www.zurb.com/playground/jquery-raptorize>`_.
Get the source
--------------
The code and bug tracker live over at http://github.com/ralphbean/raptorizemw.
Please fork and improve! We need configurable options. :)
===========================
Fact: every WSGI app is better with a velociraptor.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. image:: https://github.com/ralphbean/raptorizemw/raw/master/raptorizemw/resources/raptor.png
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
Credits
-------
This WSGI-fication of the raptorize jquery plugin was written
by `Ralph Bean <http://threebean.org>`_. Real credit goes to the people over at
ZURB who authored the `original jquery plugin
<http://www.zurb.com/playground/jquery-raptorize>`_.
Get the source
--------------
The code and bug tracker live over at http://github.com/ralphbean/raptorizemw.
Please fork and improve! We need configurable options. :)
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
raptorizemw-0.1.5dev.tar.gz
(2.4 MB
view details)
File details
Details for the file raptorizemw-0.1.5dev.tar.gz
.
File metadata
- Download URL: raptorizemw-0.1.5dev.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4152eb1b1024d984e98ff63d02efa9c4e1b78cd38c09c9ff1444ef6c02571e |
|
MD5 | b6e6044cd862e298eae6f283ed3db85d |
|
BLAKE2b-256 | a0426bb0ec59447b2eba90e07b365f14d2c72a9578bd444f1a793dd11018088b |