Skip to main content

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

Metadata

Release files for livestat 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for livestat 0.1.1
File Size Uploaded
livestat-0.1.1.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for livestat 0.1.1
File Interpreter ABI Platform
livestat-0.1.1.macosx-10.9-intel.exe Details

Total release size: 80.7 kB

Release files / livestat-0.1.1.tar.gz

Download URL livestat-0.1.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
377737ba446370d7cf51f08fdd2aff1cc75e96973c8eec264af16f9b68b898a5
BLAKE2b-256 checksum
How to use checksums
6d4e5a26c037ef8a9f81108d50b4c6b85f8dd50edb1240df4218d0cdd06b8fdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / livestat-0.1.1.macosx-10.9-intel.exe

Download URL livestat-0.1.1.macosx-10.9-intel.exe
Size 72.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a83b66305007d1ad49b885551e49d916a72728fbdeaad526a6e263148a1cfa2c
BLAKE2b-256 checksum
How to use checksums
5de29b26d93cf94335f29e27eeea601475f0c9deec71cb354820844c5dd29051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

2 release files

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