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

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.2.0.zip (7.5 kB view details)

Uploaded Source

File details

Details for the file cliquet-pusher-0.2.0.zip.

File metadata

  • Download URL: cliquet-pusher-0.2.0.zip
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cliquet-pusher-0.2.0.zip
Algorithm Hash digest
SHA256 bed8ab4be03ee65cb10769bc20a019ce512809740d8aa93658cded1db77a0e6f
MD5 8952d064173c409bdc8bd0e4cc38bcc9
BLAKE2b-256 a0bfc8b81a7175495d6af975c626996b159418b339c94e5132e26fa3c7fd4e4b

See more details on using hashes here.

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