https://github.com/lukasturcani/day-logger
Logs and adds up total time spent on things in a day.
https://github.com/lukasturcani/day-logger
Last synced: 4 months ago
JSON representation
Logs and adds up total time spent on things in a day.
- Host: GitHub
- URL: https://github.com/lukasturcani/day-logger
- Owner: lukasturcani
- Created: 2020-03-01T16:24:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T10:33:40.000Z (almost 4 years ago)
- Last Synced: 2025-02-28T02:05:51.905Z (8 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
:author: Lukas Turcani
day-logger
==========Tracks activities done during the day and calculates the total time
spent on a class of activities.You need to provide a plain text log file of the form::
05:58 WORK description of stuff done
08:43 REST
16:12 WORK some other descriptionWhich is the 24-hour format of the time an activity was started, then
a string which defines the class of the activity and then an optional
note describing the activity. The name of the class can by any
arbitrary string. The program will add up all the times spent on each
class of tasks and print the totals. For example, in the example above,
the total time spent on all ``WORK`` and ``REST`` tasks would be
printed.The software is run with::
python day_logger.py path/to/log/file