10 releases (4 stable)

3.0.1 Dec 5, 2021
3.0.0 Mar 5, 2021
2.0.0 Mar 4, 2021
1.0.0 Jan 4, 2019
0.0.3 Apr 5, 2017

#8 in #percentile

Download history 1439/week @ 2024-08-29 1411/week @ 2024-09-05 1195/week @ 2024-09-12 1532/week @ 2024-09-19 1453/week @ 2024-09-26 1634/week @ 2024-10-03 1377/week @ 2024-10-10 1367/week @ 2024-10-17 1104/week @ 2024-10-24 1450/week @ 2024-10-31 1105/week @ 2024-11-07 1166/week @ 2024-11-14 1054/week @ 2024-11-21 1074/week @ 2024-11-28 1384/week @ 2024-12-05 1157/week @ 2024-12-12

4,979 downloads per month
Used in serenade

MIT license

44KB
822 lines

Stats CLI

crates.io documentation tests MIT License

Rust package for efficiently computing statistics on floating point numbers from the command line. This contains both a command line binary and a rust library with incremental statistics objects. Currently only summary statistics (min, mean, variance), percentiles, and mode are supported.

See the rust documentation for the library api, or the cli help for usage.

To Do

  • Add sketches (many other crates do this)
  • Add testing to cli
  • Weigh tradeoffs behind DerefCopy trait vs Borrow + Copy

lib.rs:

Module with incremental statistics functions

This contains helper functions for computing statistics on iterators, as well as structs that support incremental addition of data.

Dependencies

~2MB
~27K SLoC