Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aneeshdurg/pystats
https://github.com/aneeshdurg/pystats
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aneeshdurg/pystats
- Owner: aneeshdurg
- License: mit
- Created: 2024-11-26T18:24:55.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T18:29:21.000Z (about 2 months ago)
- Last Synced: 2024-11-26T19:28:41.669Z (about 2 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyStats
CLI utility to compute stats/visualize streams of data
e.g.
```console
aneesh@earth:~/pystats$ head example.csv
0 9
1 13
2 13
3 95
4 4
5 14
6 64
7 70
8 3
9 59
aneesh@earth:~/pystats$ cat example.csv | awk "{ print \$2 }" | pystats avg
50.388
aneesh@earth:~/pystats$ cat example.csv | awk "{ print \$2 }" | pystats std
28.83306185614008
aneesh@earth:~/pystats$ cat example.csv | awk "{ print \$2 }" | pystats max
100.0
aneesh@earth:~/pystats$ cat example.csv | awk "{ print \$2 }" | pystats min
0.0
aneesh@earth:~/pystats$ cat example.csv | awk "{ print \$2 }" | pystats histogram
```Note that histogram uses `matplotlib` to render a histogram and will open a GUI window.