{ "info": { "author": "Florian Bernard", "author_email": "florianxbernard@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent" ], "description": "# taskwarrior_jrnl_hook\n\nTaskwarrior allow annotation of tasks, but I find it less practical than using jrnl to do so. This hook bring together both of this great tools.\n\n* [Taskwarrior](https://taskwarrior.org)\n* [jrnl](http://jrnl.sh)\n\nThis script was inspirated by [taskwarrior-time-tracking-hook](https://github.com/kostajh/taskwarrior-time-tracking-hook)\n\n## Principal\n\nStarting a task will automatically pass its description to jrnl. If started task have tags they will be added into the title with corresponding symbol in jrnl (by default, jrnl tags are mark with \"@\").\n\n```sh\n\n$ task list\nID Tags Due Description \n 1 administration perso 2018-09-21 Pay electricity bill\n$ task 1 start\n```\n\nThat action will call the hook and run jrnl as a subprocess.\n\n```sh\njrnl \"Pay electricity bill @administration @perso\"\n```\n\nNow, if you look in your jrnl you should see task description added as title with tags from taskwarrior.\n\n```sh\njrnl -1\n2018-09-21 9h35 Pay electricity bill @administration @perso\n```\n\n## Install\n\n```sh\npip install taskwarrior_jrnl_hook\n```\n\nThen add the hook to .task/hook folder\n\n```sh\nmkdir -p ~/.task/hooks\nln -s ~/.local/bin/taskwarrior_jrnl_hook ~/.task/hooks/on-modify.jrnl\n```\n\n## Configuration\n\nBy default this hook will look config info in your ~/.taskrc config file. Default options are built in the hook, if you want to change hook behavior put options entry in your taskwarrior config file.\n\nOptions :\n\n1. [jrnl name](#jrnl_name)\n2. [jrnl configuration](#jrnl_configuration)\n3. [tags](#tags)\n4. [project](#project)\n5. [filter](#filter)\n\n### jrnl name\n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`jrnl_name` | default | jnrl name to call|\n\nIf specify, this hook will use the jrnl name defined in the config, otherwise it will use `default` as jrnl name.\n\nPersonally I write a journal for each month, so I added an option to get month name from started task and use it as jrnl name.\n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`jrnl_by_month` | False | Use month as jrnl name|\n|`language` | en | month's language to output| \n\nIf set to `True` hook script will call jrnl for the given month. You can specify language in order to get the right spelling for the month. Month is written in all letters with no capital. \n\n### jrnl configuration\n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`jrnl_config` | `~/.jrnl_config` | Path to your jrnl configuration|\n\nIn order to use correct tags symbol used in your jrnl, the script need to read your jrnl's configuration.\n\n### tags\n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`jrnl_tags` | True | Add tags to jrnl|\n\nThis option allow you to add taskwarrior tags to your jrnl's title.\n\n### project\n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`add_project` | True | Add project to jrnl|\n\nThis option add project name under your title in the body.\n\n### filter \n\n|Name|Default|Description|\n|:--------:|:----------:|:------------------|\n|`filter_tags` | None | Tasks to be excluded by tags|\n\nThis option allow you to exclude by tags tasks that you don't want to see in your jrnl.\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Hatoris/taskwarrior_jrnl_hook", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "taskwarrior-jrnl-hook", "package_url": "https://pypi.org/project/taskwarrior-jrnl-hook/", "platform": "", "project_url": "https://pypi.org/project/taskwarrior-jrnl-hook/", "project_urls": { "Homepage": "https://github.com/Hatoris/taskwarrior_jrnl_hook" }, "release_url": "https://pypi.org/project/taskwarrior-jrnl-hook/0.1.2/", "requires_dist": [ "taskw", "babel" ], "requires_python": "", "summary": "A hook to add started task in taskwarrior to jrnl", "version": "0.1.2" }, "last_serial": 4709329, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cba6df427986f3eba3a35f1862700c89", "sha256": "6aa01b52ced650e721277e79053e6e27342fe418701efa3c93f8c1550bfe5171" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cba6df427986f3eba3a35f1862700c89", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4724, "upload_time": "2018-10-05T12:42:46", "url": "https://files.pythonhosted.org/packages/02/08/51877c3cba37d2f8988361c95e1228daf161fc14ea5e4909f35f0e257d37/taskwarrior_jrnl_hook-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f16a395cb43680a9ba35edb855a36c74", "sha256": "452154eacae2116c2919ba340786b95547f533cbb6a47b19d3635aafa2081df3" }, "downloads": -1, "filename": "taskwarrior-jrnl-hook-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f16a395cb43680a9ba35edb855a36c74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3504, "upload_time": "2018-10-05T12:42:48", "url": "https://files.pythonhosted.org/packages/67/f1/94bee1556cc46d76fbe962cd5471b8028b779bf7e41c95b77c2f432544db/taskwarrior-jrnl-hook-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e310016354a81a206a23f80d6e2eac12", "sha256": "15258eb9e8f6dd67cee98cfbfb0489f479d777c619240ec311727d79dc300643" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e310016354a81a206a23f80d6e2eac12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3613, "upload_time": "2019-01-17T18:55:17", "url": "https://files.pythonhosted.org/packages/72/c5/cd8de99a7c4c43fc8402ea9602b19894a01a323b11be6cab80d1ce75b982/taskwarrior_jrnl_hook-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "174e3a29c20bf2a31bfe7e87f07e8769", "sha256": "ae857d654964baf5af6a70d34b23cf6f95a56c8800ed7c3580e08c1af6df989e" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.1.tar.gz", "has_sig": false, "md5_digest": "174e3a29c20bf2a31bfe7e87f07e8769", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3162, "upload_time": "2019-01-17T18:55:19", "url": "https://files.pythonhosted.org/packages/9e/33/f5f49e7ec779206862df6a56c218ff556cf10dc16fbd540a550e244d5a54/taskwarrior_jrnl_hook-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9fed7779b938b83c514b88a19a4a507a", "sha256": "0517db119687882c93a2dfd033341ebec9a6642d1c67f819a63a16f7c128e52b" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9fed7779b938b83c514b88a19a4a507a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4830, "upload_time": "2019-01-17T18:58:30", "url": "https://files.pythonhosted.org/packages/cc/4c/ad911af55eb040a42a55db18126c7066cd685ab9e39e75dabec26b8910e5/taskwarrior_jrnl_hook-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ae6db69bea71a36e3153cb5d0af34d1", "sha256": "1a8e87fedb9c28a564d7d906df39c0107c167145ed709720b44577e50d032e8d" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5ae6db69bea71a36e3153cb5d0af34d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3573, "upload_time": "2019-01-17T18:58:32", "url": "https://files.pythonhosted.org/packages/e5/f8/a0f6508dc7ffa42a0914d931d77a2d7e2b17f633c6c6221058e5504db702/taskwarrior_jrnl_hook-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fed7779b938b83c514b88a19a4a507a", "sha256": "0517db119687882c93a2dfd033341ebec9a6642d1c67f819a63a16f7c128e52b" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9fed7779b938b83c514b88a19a4a507a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4830, "upload_time": "2019-01-17T18:58:30", "url": "https://files.pythonhosted.org/packages/cc/4c/ad911af55eb040a42a55db18126c7066cd685ab9e39e75dabec26b8910e5/taskwarrior_jrnl_hook-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ae6db69bea71a36e3153cb5d0af34d1", "sha256": "1a8e87fedb9c28a564d7d906df39c0107c167145ed709720b44577e50d032e8d" }, "downloads": -1, "filename": "taskwarrior_jrnl_hook-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5ae6db69bea71a36e3153cb5d0af34d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3573, "upload_time": "2019-01-17T18:58:32", "url": "https://files.pythonhosted.org/packages/e5/f8/a0f6508dc7ffa42a0914d931d77a2d7e2b17f633c6c6221058e5504db702/taskwarrior_jrnl_hook-0.1.2.tar.gz" } ] }