simplestats

Crates.iosimplestats
lib.rssimplestats
version0.1.3
sourcesrc
created_at2021-10-03 03:12:13.336999
updated_at2021-10-03 04:42:16.290204
descriptionGenerate simple statistics on line delimited numbers
homepage
repositoryhttps://github.com/takashiidobe/simplestats
max_upload_size
id459616
size28,816
Takashi Idobe (Takashiidobe)

documentation

https://docs.rs/simplestats

README

Simplestats

$ cat numbers.txt
1
2
3
4
5
6
7
8
9
10
$ simplestats numbers.txt

Output:

+-----+-----+-------+-------+------+--------------------+
| max | min | total | count | mean | stddev             |
+-----+-----+-------+-------+------+--------------------+
| 10  | 1   | 55    | 10    | 5.5  | 2.8722813232690143 |
+-----+-----+-------+-------+------+--------------------+

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 14

cargo fmt