Skip to main content

Plug Cliquet notifications with Pusher.com

Project description

https://img.shields.io/travis/leplatrem/cliquet_pusher.svg https://img.shields.io/pypi/v/cliquet_pusher.svg

proof-of-concept: Plug Cliquet notifications with Pusher.com.

Install

pip install cliquet-pusher

Setup

In the Cliquet-based application settings:

cliquet.includes = cliquet_pusher

cliquet.event_listeners = cliquet_pusher.listener
cliquet.event_listeners.pusher.resources = <list of resource names>
cliquet.event_listeners.pusher.channel = <channel-name or pattern>

pusher.app_id = <pusher-app-id>
pusher.key = <pusher-key>
pusher.secret = <pusher-secret>

For example, in Kinto, to be notified of record updates per collection:

kinto.event_listeners.pusher.resources = record
kinto.event_listeners.pusher.channel = {bucket_id}-{collection_id}

TODO

  • Add view for authenticated channels

Changelog

0.1.1 (2015-11-05)

  • Initial working proof-of-concept.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cliquet-pusher-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page