Time tracking support plugin for beancount
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robert Labudda 89d667164a Correct the README 3 weeks ago
beancounttime another test case 4 weeks ago
.gitignore init 4 weeks ago
LICENSE init 4 weeks ago
MANIFEST.in init 4 weeks ago
README.md Correct the README 3 weeks ago
setup.py init 4 weeks ago



After installing through pip, like this

$ pip install beancounttime

you can use the plugin in beancount to track time like this:

;; timetracking.beancount
plugin "beancounttime.time"  "HR"

1900-01-01 open Equity:Universe        HR
1900-01-01 open Expenses:Work          HR
1900-01-01 open Expenses:Work:Hacking  HR
1900-01-01 open Expenses:Work:Meeting  HR

2000-01-01 * ""
  Expenses:Work:Hacking   4.50 HR
  Expenses:Work:Meeting   3.30 HR
  Equity:Universe        -8.20 HR

As you can see time is tracked in the form of HH.MM. The plugin will take care of converting this format into the decimal form, so beancount can work with it.

E.g. 3.30 HR (3 hours, 30 minutes) will be converted to 3.50 HR.

The plugin will only apply the conversion to transactions with the commodity that is passed as a parameter to the plugin (in the example HR).