Cliquet Pusher
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.
Metadata
Release files for cliquet-pusher 0.2.0
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 |
|---|---|---|---|---|
| cliquet-pusher-0.2.0.zip | 7.5 kB | Without provenance | Details for cliquet-pusher-0.2.0.zip |
Release files / cliquet-pusher-0.2.0.zip
| Download URL | cliquet-pusher-0.2.0.zip |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bed8ab4be03ee65cb10769bc20a019ce512809740d8aa93658cded1db77a0e6f
|
|
BLAKE2b-256 checksum How to use checksums |
a0bfc8b81a7175495d6af975c626996b159418b339c94e5132e26fa3c7fd4e4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cliquet-pusher 0.2.0
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.