Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Implements a powerful analytics library on top of Redis's support for bitmaps and bitmap operations.

This library makes it possible to implement real-time, highly scalable analytics that can answer following questions:

* Has user 123 been online today? This week? This month?
* Has user 123 performed action "X"?
* How many users have been active have this month? This hour?
* How many unique users have performed action "X" this week?(more...)

src/r/a/rapidsms-xray-0.5.9b0/xray/events.py   rapidsms-xray(Download)
from collections import namedtuple
import bitmapist
Event = namedtuple('Event', 'prefix, kind, name, date, display')