Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Plug Cliquet notifications with Pusher.com

Project Description

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}-{resource_name}

> Note: This channel format is the one used in the demo

TODO

  • Add view for authenticated channels

Changelog

0.2.0 (2015-11-20)

  • Add HTML demo with Kinto and Leaflet
  • Works with Cliquet 2.11

0.1.0 (2015-11-05)

  • Initial working proof-of-concept.
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cliquet-pusher-0.2.0.zip (7.5 kB) Copy SHA256 Checksum SHA256 Source Nov 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting