Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Computing descriptive statistics over streaming data

Project Description

livestat

Python module to compute running statistics over data, like when measuring timings from a stream.

Properties: - count - min,max,mean - std and variance - kurtosis and skewness # allows to measure the “normality of the dataset”

The main class is LiveStat to which data can be appended with append(x). For incremental values the DeltaLiveStat provides an easy to use helper.

Usage:

from livestat import LiveStat,DeltaLiveStat

x = LiveStat(“optionalname”) x.append(10) x.append(20) print x # count is 2

x = DeltaLiveStat(“dt”) x.append(10) x.append(20) print x # count is 1 containing the difference

#also from array x.extend([10,20,30,40,50])

Extra Features:

# the LiveStat objects can be combined for example when performing over different data Windows or in a multiprocessing environment x.merge(y) # now x contains the merge of the statistics

# the LiveStat object can be multipled by scalar or translated, for the objective of performing some unit transformation. All the measures are transformed appropriately x + 5 x * 5

In progress: - numpy support - normality test

Package Repository

This project is maintained here: https://github.com/sankazim/pylivestat

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
livestat-0.1.1.macosx-10.9-intel.exe (72.6 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jan 3, 2014
livestat-0.1.1.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Jan 3, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting