Skip to main content

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!

Release files for fedmsg_middleware 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fedmsg_middleware 0.0.3
File Size Uploaded
fedmsg_middleware-0.0.3.tar.gz 13.3 kB Details

Release files / fedmsg_middleware-0.0.3.tar.gz

Download URL fedmsg_middleware-0.0.3.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fce23902f6de4bd89718776a64fca2dc72cd921d7ed49b3041ae1d518969c100
BLAKE2b-256 checksum
How to use checksums
b1b8b5a4a71eb907c92cf318a01577baf0952f20b56553189b610b4497c9388d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page