An open API service indexing awesome lists of open source software.

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.

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 description

Which 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