My favorites | Sign in
Project Logo
                
Feeds:
People details
Project owners:
  julio.biason

TimeTracker is an application loosely based on TimeKeeper, a Windows application used to track the time you spent on a task. Being a Linux user and not willing to install Wine, I decided to hack my own version.

Dependencies

TimeTracker only requires Python 2.4 (or superior -- it should work fine with Python 2.5).

Options

How to use it

If you never used TimeKeeper, besides being lucky, you won't see use for most of those fields. But everything starts with a data file, specified in the --new option. To start a task in this file, use the --task option, specifying --client, --activity and --reference. You only have to specify those three values once; every call later will use the last used values for those fields. You can also specify a --comment for the task (note: this value is not saved, so you need to specify it every time.) Once you finish the task, stop the counter with the --stop option.

TimeTracker saves the TimeTracker data file, client, activity and reference on ~/.timetracker.ini. These data are used on further calls, so you don't have to worry about them. If you need to see these values, use the --verbose option.

The --list option

Here is a sample output (HTMLized; on the console it wouldn't display the borders) of the --list option:

Date Start time End time Duration Client Activity Reference Comment
23/12/2005 13:07:54 (3:05:20) "" Julio Bug fixing Big project Bug #4567
23/12/2005 09:20:04 12:02:48 2:42:44 Julio Bug fixing Big project Bug #4566
22/12/2005 12:58:48 18:59:42 6:00:54 Julio Writting documentation Small project ""

All tasks are displayed from the most recent to the oldest. The first tasks shows the duration with braces 'cause isn't closed it and it is displaying the elapsed time.

(Note: if you just check the data file, you'll see that it isn't much different than this)

The --summary option

The --summary gives you a summary of what you did. You can pass a list of fields to be summarized and the program will display a list of things using that fields, ordered. For example, --summary=date will display a summary of how many hours you worked each day; --summary=date,reference will display how many many hours your worked each day on each reference. The order is given the field order: --summary=date,reference will order things by date and then by reference; --summary=reference,date will order things by reference and then by date.

Valid field names are:









Hosted by Google Code