Fedmsg WSGI Middleware (Notifications)
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!
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fedmsg_middleware-0.0.3.tar.gz | 13.3 kB | Without provenance | Details for fedmsg_middleware-0.0.3.tar.gz |
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 |
Security for fedmsg_middleware 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.