Skip to content

ninja-ops/timetrackics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

timetrackics

purpose

converts an ical file to a csv file valid for some 3rd time-tracking applications.

can filter by location and category or filter by finds in descrioption.

it can also filter for dates, e.g. YYYY-MM.

it can also sum's the hours you spent on certain "events".

requirements

pip install icalendar

usage

usage: timetrackics.py [-h] [--category CATEGORY] [--location LOCATION] [--description DESCRIPTION] [--date DATE] [--header HEADER] [--debug DEBUG] [--sum SUM] [--group-by GROUP_BY]
                       filename

positional arguments:
  filename              location of icalendar file

optional arguments:
  -h, --help            show this help message and exit
  --category CATEGORY   filter events by category
  --location LOCATION   filter events by location
  --description DESCRIPTION
                        filter events for something whats in description
  --date DATE           only add events where date starts with this, e.g. 2003-11
  --header HEADER       set to something enables heading row
  --debug DEBUG         set to something enables debug mode
  --sum SUM             prints sum hour's at the end
  --group-by GROUP_BY   group by e.g. 'day'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published