Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 971 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 971 Bytes

a kraken

countdb

Build Status Coverage Status PyPI version

count events with arbitrary names, over time, aggregates minutes/hours/days

tl;dr

  • counts events with arbitrary names
  • stores events per minute (averaging multiple measurements)
  • aggregates events per hour/day

API: CountDB

open(filename) opens the CountDB readonly

open_for_counting(filename) constitutes a single measurement, stored in a CountDB, allows multiple calls to count(key)

open_for_extending(filename) extends the current CountDB with another one (extend(), used for the aggregation)