{"id":13937537,"url":"https://github.com/eruffaldi/pylivestat","last_synced_at":"2026-03-10T07:31:16.993Z","repository":{"id":12870834,"uuid":"15547188","full_name":"eruffaldi/pylivestat","owner":"eruffaldi","description":"Python  package to compute running descriptive statistics over data","archived":false,"fork":false,"pushed_at":"2017-06-15T10:56:11.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-16T05:46:49.644Z","etag":null,"topics":["python","statistics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eruffaldi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-31T09:19:48.000Z","updated_at":"2020-07-28T20:26:18.000Z","dependencies_parsed_at":"2022-09-01T20:50:40.658Z","dependency_job_id":null,"html_url":"https://github.com/eruffaldi/pylivestat","commit_stats":null,"previous_names":["sankazim/pylivestat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eruffaldi/pylivestat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruffaldi%2Fpylivestat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruffaldi%2Fpylivestat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruffaldi%2Fpylivestat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruffaldi%2Fpylivestat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eruffaldi","download_url":"https://codeload.github.com/eruffaldi/pylivestat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eruffaldi%2Fpylivestat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","statistics"],"created_at":"2024-08-07T23:03:40.069Z","updated_at":"2026-03-10T07:31:16.420Z","avatar_url":"https://github.com/eruffaldi.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\n# livestat\n\n![livestat](icon.png)\n\nPython module to compute running statistics over data, like when measuring timings from a stream.\n\nProperties:\n- count\n- min,max,mean\n- std and variance\n- kurtosis and skewness \n- merge of two livestats preserving statistics\n- arithmetic operation over stat: + - * /\n- standardization of the stat: uses mean and std to compute offset and scaling and then applies to the data updating the other statistics\n- minmax normalization to [0,1]: uses mean and std to compute offset and scaling and then applies to the data updating the other statistics\n\nNormality tests:\n- jarque_bera\n- kurtosis and skewness \n\nThe main class is LiveStat to which data can be appended with append(x). For incremental values the DeltaLiveStat provides an easy to use helper.\n\nUsage:\n\n\tfrom livestat import LiveStat,DeltaLiveStat\n\n\tx = LiveStat(\"optionalname\")\n\tx.append(10)\n\tx.append(20)\n\tprint x # count is 2\n\n\tx = DeltaLiveStat(\"dt\")\n\tx.append(10)\n\tx.append(20)\n\tprint x # count is 1 containing the difference\n\n\t#also from array\n\tx.extend([10,20,30,40,50])\n\nExtra Features: \n\t\n\t# the LiveStat objects can be combined for example when performing over different data Windows or in a multiprocessing environment\n\tx.merge(y) # now x contains the merge of the statistics\n\n\t# the LiveStat object can be multipled by scalar or translated, for the objective of performing some unit transformation. All the measures are transformed appropriately\n\tx + 5\n\tx * 5\n\nPlanned\n=======\n\n- numpy support for fast forwarding append, and for vectorial statistics\n\nPackage Repository\n==================\nThis project is maintained here: https://github.com/eruffaldi/pylivestat\n\n\nRelated\n===========\nThe faststat package is similar:\n\n\thttps://pypi.python.org/pypi/faststat/\n\thttps://github.com/doublereedkurt/faststat/\n\t\nMore sophisticated features can be found in scipy.stats\n\thttps://docs.scipy.org/doc/scipy-0.14.0/reference/tutorial/stats.html\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feruffaldi%2Fpylivestat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feruffaldi%2Fpylivestat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feruffaldi%2Fpylivestat/lists"}