Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxcountryman/st
Fast and simple statistics on the command line.
https://github.com/maxcountryman/st
maximal median minimal standard-deviation statistics sum
Last synced: 3 months ago
JSON representation
Fast and simple statistics on the command line.
- Host: GitHub
- URL: https://github.com/maxcountryman/st
- Owner: maxcountryman
- License: bsd-3-clause
- Created: 2016-10-15T16:40:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-15T17:40:43.000Z (over 8 years ago)
- Last Synced: 2024-10-03T10:44:46.066Z (4 months ago)
- Topics: maximal, median, minimal, standard-deviation, statistics, sum
- Language: Rust
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# st
Fast and simple statistics on the command line.`st` is a dead-simple tool for displaying simple statistics. It's a simplified
port of the eponymous Perl program and a faster, more light weight
implementation of the Go variants.Why another command line stats tool?
* Fast
* Lightweight
* Can handle larger datasets as compared to its cousins## Installation
If you have Cargo available, then simply:
```
$ cargo install st
```...or you can clone this repository and build with `rustc`:
```
rustc -O src/main.rs
```## Usage
`st` takes input from stdin. It expects numbers to be separated by whitespace.
For example:```
$ echo '1 2 3 4 5 6' | st
N 6
min 1
max 6
sum 21
median 3.5
mean 3.5
σ 1.8708286933869707
```