WSGI middleware for display fedmsg messages.
Project description
Installation
You could install it yourself with pip:
$ pip install fedmsg_middleware
Or you could add fedmsg_middleware 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 fedmsg_middleware app = fedmsg_middleware.make_middleware(app)
Usage in Pyramid
Edit myapp/__init__.py and replace the return config.make_wsgi_app() line with the following:
import fedmsg_middleware app = config.make_wsgi_app() app = fedmsg_middleware.make_middleware(app) return app
Usage in a PasteDeploy pipeline
You can enable it in your PasteDeploy pipeline like so:
[pipeline:main]
pipeline =
fedmsg_middleware
my-app
[filter:fedmsg_middleware]
use = egg:fedmsg_middleware
topic = org.fedoraproject.prod.koji.*
[app:myapp]
...
Get the source
The code and bug tracker live over at http://github.com/ralphbean/fedmsg_middleware. Please fork and improve!
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
fedmsg_middleware-0.0.1.tar.gz
(12.5 kB
view details)
File details
Details for the file fedmsg_middleware-0.0.1.tar.gz.
File metadata
- Download URL: fedmsg_middleware-0.0.1.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fbfb16b79c52589f7930091802ee7ee7ac4c79951a0ab42d81ad8e6449b2bd8
|
|
| MD5 |
1ea4a5fd18958ac830d92f0396b703e1
|
|
| BLAKE2b-256 |
09a9cc3e6698394a22bf4b963ebb405ab9f054f685a08e14af7828aa2b06d08e
|