django-keen-0.1.3
توضیحات
Simple wrapper for django around the official keen.io client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-keen-0.1.3 |
| نام | django-keen |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jannis Gebauer |
| ایمیل نویسنده | ja.geb@pricemesh.io |
| آدرس صفحه اصلی | http://pypi.python.org/pypi/django-keen/ |
| آدرس اینترنتی | https://pypi.org/project/django-keen/ |
| مجوز | LICENSE.txt |
===========
django-keen
===========
Simple wrapper around the official keen.io client.::
from dkeen import add_event
add_event("user_subscribed", {"name": user.username})
Installation
=========
pip install django-keen
Configuration
-------------
put this in your django settings file
KEEN_PROJECT_ID = ""
KEEN_WRITE_KEY = ""
KEEN_READ_KEY = ""
KEEN_CELERY = False
Note: Calls to keen.io are blocking (you have to wait for a response). If you have a running celery installation, set KEEN_CELERY to True. All calls to add_event or add_events will be called in a task to prevent the blocking.
نحوه نصب
نصب پکیج whl django-keen-0.1.3:
pip install django-keen-0.1.3.whl
نصب پکیج tar.gz django-keen-0.1.3:
pip install django-keen-0.1.3.tar.gz