Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

iCalReport reads iCal events and reports the time you spend on projects.

branch: master

README

$ python icalreport.py --help
Usage: icalreport.py [options]

Options:
  -h, --help  show this help message and exit
  -c NAME     Name of the calendar (mandatory)
  -m MONTH    Number of the month for which to report (default: current)
  -u MONTH    Number of the month until which to report (default: current)
  -w          Report for the current week
  --lw        Report for last week
  -t          Report for today
  -s NUMBER   Skip items which are longer than this number of hours
  -l          Look for projects in events locations (default: titles)

  Purpose:
    Report the time spent on projects by reading iCal events.

  Example:
    $ icalreport -c MyHours -m 9 -u 10 -l

  Example:
    $ icalreport -c MyHours -w -s 8


$ python icalreport.py -c "Heures_2009" -l
------------------------------
From 2009-09-01 to 2009-09-30
------------------------------
Annual Meeting       8.50
MobiWalk             3.50
MetaMin              11.50
Memoria Mea 2        105.25
------------------------------
Total                128.75
------------------------------
Something went wrong with that request. Please try again.