Skip to content

sujunyan/time_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Tracker

This is a time tracker for my personal use. Previously I used pomotodo to record how long I work every day. But it does not support for exporting data. I want to draw some fancy graphs in a more flexible way. So I am thinking of developing my own one.

Another advantage is that I can manually add a record if I forget to start a record.

This "app" is python based and I want to keep it simple and neat. It is now command line based. I am currently not sure if I want to add a simple GUI...

Usage

Use the following command to start a recording

python main.py --task meeting

where meeting is a task name. One can also change the task list in config.py.

Some shortcut command can also be found in the Makefile.

Data Analysis

Use the following command to do the data analysis:

python plot.py --days 1 [--tabdays] [--bardays] [--cn] [--nots]

All the figures are stored in the figs/ folder. I also add a sample data which contains the real data of the first week since this project. Feel free to delete the sample data for your own use.

It has the following features:

Print statistics summary

Statistics for previous 7 days
[TA        ]:      4 hours 29 minutes
[code      ]:     18 hours 01 minutes
[meeting   ]:      5 hours 50 minutes
[misc      ]:      1 hours 02 minutes
[presentation]:    2 hours 09 minutes
[reading   ]:      6 hours 31 minutes
[thinking  ]:      4 hours 15 minutes
[writing   ]:      1 hours 54 minutes
[Total time]:     44 hours 15 minutes
[Time per day]:    6 hours 19 minutes

Plot pie chart

Plot timetable

Plot working time along date/month (timebar)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors