Skip to main content
===========
django-keen
===========

Simple wrapper around the official keen.io client.::

#!/usr/bin/env python

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.

Download files

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

Source Distribution

django-keen-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file django-keen-0.1.2.tar.gz.

File metadata

  • Download URL: django-keen-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-keen-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d823f1d7b16ffb4554f89e38d78938375f960584e916fa8aabaa05d59b36e083
MD5 03cc3a367c905552c8fb4750ef87e913
BLAKE2b-256 8b646cee6141d9b21818aabe8f6ad40dd490aa3e1c92c8e4c7dce0658c0f52ee

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

1 file

This release

0.1.2 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page