Tree @acc6d55 (Download .tar.gz)
habitus
A statistics and trends calculator for Harsh
Habitus is a trends and statistics calculator for Harsh.
The trend categories are inspired by Tickmate.
It uses the log file at $HOME/.config/harsh/log as the data source. The following statistics are calculated: total number of occurrences, current and 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
@acc6d558db76597eeebda22ae48142ae3a76c5e8
git clone https://simonvolpert.com/habitus/
- Print an error and continue on malformed journal instead of crashing Simon Volpert 1 year, 9 months ago
- Update README Simon Volpert 2 years ago
- Add current streak or break Simon Volpert 2 years ago
- Add weekday distribution calculation Simon Volpert 3 years ago
- 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