Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sile/funst
A tiny command-line tool to calculate fundamental statistics of numbers given via the standard input
https://github.com/sile/funst
command-line-tool rust statistics
Last synced: about 3 hours ago
JSON representation
A tiny command-line tool to calculate fundamental statistics of numbers given via the standard input
- Host: GitHub
- URL: https://github.com/sile/funst
- Owner: sile
- License: mit
- Created: 2020-10-28T13:47:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-25T13:35:07.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T00:51:30.101Z (24 days ago)
- Topics: command-line-tool, rust, statistics
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
funst
=====[![funst](https://img.shields.io/crates/v/funst.svg)](https://crates.io/crates/funst)
[![Documentation](https://docs.rs/funst/badge.svg)](https://docs.rs/funst)
[![Actions Status](https://github.com/sile/funst/workflows/CI/badge.svg)](https://github.com/sile/funst/actions)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)`funst` is a tiny command-line tool to calculate fundamental statistics of numbers given via the standard input.
```console
$ seq 1 100 | funst
{
"count": 100,
"mean": 50.5,
"stddev": 28.86607004772212,
"min": 1.0,
"median": 50.5,
"max": 100.0
}
```Installation
------------### Precompiled binaries
Precompiled binaries for Linux and Windows are available in the [releases] page.
```console
$ curl -L https://github.com/sile/funst/releases/download/${VERSION}/funst-${VERSION}.linux-amd64 -o funst
$ chmod +x funst
$ ./funst -h
```[releases]: https://github.com/sile/funst/releases
### Using Cargo
If you have already installed [Cargo][cargo], you can install `funst` by executing the following command:
```console
$ cargo install funst
```[cargo]: https://doc.rust-lang.org/cargo/