Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
worklog
Python Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
yworklog
ChangeLog
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

YWorkLog

Stack based utility with CLI interface helping you to monitor time spent on tasks.

The stack base helps with dealing with tasks interupted with other tasks, unfortunately it can't deal with tasks running in parallel (yet).

Usage

Start an activity

$ wl start playing chess

Pause it with a random encounter

$ wl end fapping

Check out how long did the fapping take you

$ wl diff
2012-07-11 10:09:23.626468 end    fapping
diff: 0:00:12.802342

Resume what you have started

$ wl resume

Check out your logs since you have started

$ wl end # <- this step shouldn't be needed in the future, before doing `diff -f`
$ wl diff -f
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 end
diff: 0:00:25.195985

List all your logs

$ wl list
2012-07-11 09:52:34.045907 start  fuuu
2012-07-11 09:52:37.928545 end    kek
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 end

And wrap up

$ wl pop
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 end
diff: 0:00:25.195985
$ wl list
2012-07-11 09:52:34.045907 start  fuuu
2012-07-11 09:52:37.928545 end    kek

Install

source:

$ python setup.py install
$ cd yworklog/alembic
$ alembic upgrade head

pypi:

$ pip install yworklog
$ cd $(dirname `python -c 'import yworklog; print yworklog.__file__'`)/alembic
$ alembic upgrade head
Something went wrong with that request. Please try again.