跳转到主要内容

将Kinto通知集成到Pusher.com

项目描述

https://img.shields.io/travis/Kinto/kinto-pusher.svg https://img.shields.io/pypi/v/kinto-pusher.svg

Kinto通知集成到Pusher.com

安装

pip install kinto-pusher

根据您的环境,可能需要使用sudo apt-get install libffi-dev安装ffi系统库

设置

在基于Kinto的应用程序设置中

kinto.includes = kinto_pusher

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

kinto.event_listeners = pusher
kinto.event_listeners.pusher.use = kinto_pusher.listener

kinto.event_listeners.pusher.channel = {bucket_id}-{collection_id}-{resource_name}
kinto.event_listeners.pusher.resources = bucket collection group record
kinto.event_listeners.pusher.actions = create update delete

待办事项

  • 添加认证渠道视图

变更日志

1.0.0 (2019-06-06)

  • 升级到Kinto 13和Python 3.7

0.6.0 (2017-04-25)

  • 升级到Kinto 6和Python 3.5 (#21)

0.5.0 (2017-02-21)

  • 修复插件中的一些常见500错误 (#20)

0.4.0 (2016-12-02)

  • 在能力中添加插件版本。 (#12)

  • 处理pusher.cluster选项。 (#17)

  • 更新到超级Kinto 5.0

0.3.0 (2016-05-23)

  • 将项目重命名为Kinto-fxa,以匹配cliquetkinto.core的重命名。

  • 更新到kinto.core,以与Kinto 3.0兼容。此版本不再与Kinto < 3.0兼容,请升级!

0.2.0 (2015-11-20)

  • 添加带有KintoLeaflet的HTML演示

  • Cliquet 2.11兼容

0.1.0 (2015-11-05)

  • 初步工作原形。

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪一个,请了解更多关于安装包的信息。

源分发

kinto-pusher-1.0.0.tar.gz (4.8 kB 查看散列)

上传时间

构建分发

kinto_pusher-1.0.0-py3-none-any.whl (4.0 kB 查看散列)

上传时间 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面