Tree @49e39a2 (Download .tar.gz)
habitus
A statistics and trends calculator for Harsh
Habitus is a trends and statistics calculator for Harsh.
It uses the log file at $HOME/.config/harsh/log as the data source. The following statistics are calculated: total number of occurrences, longest streak and break, weekly, monthly, quarterly and yearly mean values, and 1- and 2-week, 1,3,6-month and 1-year trends, including percent change.
Installation and Usage
Have Python 3 installed. There are no other requirements (not even Harsh itself).
Place the executable in your $PATH give it execution permissions. Type habitus to see your tracks' trends and statistics. Type habitus followed by the track name to show the trends and statistics of a single track. There is no persistent configuration of any kind.
Other Notes
This program is free software, released under the MIT license. See the LICENSE file for more information.
The program's canonical project page resides at https://simonvolpert.com/habitus/
I gratefully accept appreciation for my work in material form at bitcoincash:qrmc2w3emlhy36tuuy4p7wj6gvdtg3usnu0c4zyfwp.
Commit History
@49e39a26f92778f52520ae15bc167ce144947c1a
git clone https://simonvolpert.com/habitus/
- Add README Simon Volpert 3 years ago
- Add LICENSE Simon Volpert 3 years ago
- Make trend percentage marks more intuitive Simon Volpert 3 years ago
- Add percent change to trends Simon Volpert 3 years ago
- Add time period trend calculation Simon Volpert 3 years ago
- Add a help message Simon Volpert 3 years ago
- Add comments Simon Volpert 3 years ago
- Allow showing only tracks we want from the command line Simon Volpert 3 years ago
- Truncate time period mean values to one decimal Simon Volpert 3 years ago
- Add yearly mean calculation Simon Volpert 3 years ago