{ "info": { "author": "Jens Neuhalfen", "author_email": "jens@neuhalfen.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "mail to taskwarrior\n#######################\n\n.. image:: https://travis-ci.org/neuhalje/notmuch-task.svg?branch=master\n :target: https://travis-ci.org/neuhalje/notmuch-task\n\nLinking mails (mutt, neomutt) to taskwarrior tasks and the other way around by utilising notmuch.\n\n- Create tasks from (neo)mutt with one command\n- Find tasks already assigned to e-mails\n\n\nInstalling\n**************\n\n``pip install notmuchtask``\n\n\nUsage\n=============\n\n``notmuchtask`` links e-mails to tasks in taskwarrior. This is done by assigning notmuch tags to the e-mails.\n\ncli\n**************\n\nFinding tasks\n===============\n\nThe ``find-task`` command will find the task(s) assigned to a message\n\n.. code:: shell\n\n # reading the message from stdin\n cat test.eml|notmuchtask find-task\n 99c0768c-2dbd-4c8b-9b74-afe610653dd1\n\n # or reading the message by path\n notmuchtask find-task test.eml\n\nExit codes\n-----------\n\n0\n Command ran successfully. The task-id has been written to stdout\n90\n An unexpected error has occured\n91\n File not found. The file passed could not be opened\n92\n The message(-id) could not be found in notmuch\n93\n The task could not be found\n\nCreating tasks\n===============\n\nThe ``find-or-create-task`` command will find the task(s) assigned to a\n message and will create a new task if needed.\n\n.. code:: shell\n\n # reading the message from stdin\n cat test.eml|notmuchtask find-or-create-task\n # the first time a new task is created with the subject as title\n 99c0768c-2dbd-4c8b-9b74-afe610653dd1\n\n cat test.eml|notmuchtask find-or-create-task\n # the second time no new task is created\n 99c0768c-2dbd-4c8b-9b74-afe610653dd1\n\n # or reading the message by path\n notmuchtask find-or-create-task test.eml\n 99c0768c-2dbd-4c8b-9b74-afe610653dd1\n\n\nExit codes\n-----------\n\n0\n Command ran successfully. The task-id has been written to stdout\n90\n An unexpected error has occurred\n91\n File not found. The file passed could not be opened\n92\n The message(-id) could not be found in notmuch\n\n(neo)mutt\n**************\n\nAdd this to your ``.muttrc``:\n\n.. code:: text\n\n # Make sure that there are no spaces at the beginning of the line\n macro index,pager \\\n \"set my_old_pipe_decode=\\$pipe_decode my_old_wait_key=\\$wait_key nopipe_decode nowait_key\\\n notmuchtask --debug find-or-create-task\\\n set pipe_decode=\\$my_old_pipe_decode wait_key=\\$my_old_wait_key\" \\\n \"notmuchtask: assign mail to a task\"\n\n\n\nconfiguring\n*************\n\nnotmuchtask can be configured by a config file:\n\n.. code:: ini\n\n [tags]\n # notmuchtask uses notmuch tags to link messages to tasks\n # `prefix` is used as a prefix to the taskid. E.g.\n # if prefix is set to 'taskid:', and the task\n # e1544da8-8b9b-4bda-b4bc-8642c5627b59 is linked to the message\n # the tag 'taskid:e1544da8-8b9b-4bda-b4bc-8642c5627b59' is set on the\n # message.\n # default: taskid:\n prefix = taskid:\n\n [taskwarrior]\n # Executable\n #\n executable = task\n\nThe following config files are evaluated, the first found configfile is used:\n\n#. The file passed with ``--configfile``\n\n#. The file pointed to by the environment variable ``NOTMUCHTASKRC``\n\n#. ``~/.notmuchtask.conf``\n\nDevelop\n=============\n\nTidbits about development.\n\nRun DEV version\n****************\n\nFor testing purposes you can run the code directly from the repository:\n\n.. code:: shell\n\n # Setup the virtual environment\n # Install site package with python3 bindings for notmuch\n apt install python3-notmuch\n pipenv --rm # just in case\n pipenv --python 3.6 --site-packages\n pipenv install --dev\n\n.. code:: shell\n\n # run the code\n pipenv shell\n pip install --editable .\n\n notmuchtask --help\n\nTODOs\n****************\n\nKnown Bugs\n============\n\n* Mails with non-utf-8 charset fail to parse\n* Messages without subject fail to parse\n\nIdeas\n============\n\nPrio A (must), B (should), C (maybe never .. )\n\n* (A) Passthrough commands: enter the command for the task for a mail\n* (A) Edit task description on creation\n* (B) Use taskwarriors UDAs to store the message ID\n* (B) Transaction with task and notmuch incl. locking\n* (C) Virtual folder to include tasks in mutt (??) (FUSE?)\n\nChangelog\n=========\n\nVersion 0.0.3 (2019-05-22)\n--------------------------\n\n* Release for internal testing\n* Improved handling of non-standard e-mails\n\nVersion 0.0.2 (2019-05-20)\n--------------------------\n\n* Release for internal testing\n\nVersion 0.0.1 (2019-05-19)\n--------------------------\n\n* Initial test release\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/neuhalje/notmuch-task", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "notmuchtask", "package_url": "https://pypi.org/project/notmuchtask/", "platform": "", "project_url": "https://pypi.org/project/notmuchtask/", "project_urls": { "Homepage": "https://github.com/neuhalje/notmuch-task" }, "release_url": "https://pypi.org/project/notmuchtask/0.0.3/", "requires_dist": [ "click (<7.1,>=7.0)", "html2text (>=2018.1.9)", "notmuch" ], "requires_python": ">=3.5", "summary": "Sync mails in notmuch with taskwarrior", "version": "0.0.3" }, "last_serial": 5301094, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0134d86f04e0f824a2839759b87724dc", "sha256": "b13b40a6cef51bfab538aaeb737177e606073571981619595fbf733479a862a1" }, "downloads": -1, "filename": "notmuchtask-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0134d86f04e0f824a2839759b87724dc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 12337, "upload_time": "2019-05-18T21:35:27", "url": "https://files.pythonhosted.org/packages/6f/0f/1a5a5b835abd570c7e189383fc7ebd2e5aa4b8a76717e0d110c639e554ab/notmuchtask-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4404b9e0864abe4833a133ec7336012c", "sha256": "e9fdec507331531654e7751f5c569f5406aa5f744d7d8dff81fe1351ee2ea9bc" }, "downloads": -1, "filename": "notmuchtask-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4404b9e0864abe4833a133ec7336012c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8320, "upload_time": "2019-05-18T21:35:30", "url": "https://files.pythonhosted.org/packages/23/45/a3a3280a59d47dcd4c95cbd0ebc45114fe5ae91dc7372166dc415a34b57c/notmuchtask-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e002cadbfbbf51d94619a222251ab167", "sha256": "d2c18da35298f83ecbfb512692c4634dc17279f0cdfc649a89f0d02aea0f327f" }, "downloads": -1, "filename": "notmuchtask-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e002cadbfbbf51d94619a222251ab167", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 12743, "upload_time": "2019-05-20T10:13:43", "url": "https://files.pythonhosted.org/packages/26/f8/1388b233fb13e67e16bfb13573fab366b3920385bc4165b70952c4e28df9/notmuchtask-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "103dbc924e93e1361f633e38de8bbf93", "sha256": "feff0375a3f91e95b2b5427dd3e32ad56cbaf00193de8e0e5719ccec404cf156" }, "downloads": -1, "filename": "notmuchtask-0.0.2.tar.gz", "has_sig": false, "md5_digest": "103dbc924e93e1361f633e38de8bbf93", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8816, "upload_time": "2019-05-20T10:13:45", "url": "https://files.pythonhosted.org/packages/23/09/e65834f952bd9242427c6c19dc10106456c77ba9027b1cba05186927dabf/notmuchtask-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "448a28def7fae9fa155fcbce06ba7323", "sha256": "44ad3ae9ee08edaa0f655c18cc7efdf51bf978181626af8514332e12cfbc04c8" }, "downloads": -1, "filename": "notmuchtask-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "448a28def7fae9fa155fcbce06ba7323", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16703, "upload_time": "2019-05-22T06:05:06", "url": "https://files.pythonhosted.org/packages/58/5d/fa79fae1ebc741e7aa5729654645b6a502f7655b51345753ecb9127b003a/notmuchtask-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff80f7dd7925b4f249efad9639a321ed", "sha256": "efd86bd8a1290c6452edc4f6687ef8731ac7ccfc9e15605127d87d399351849b" }, "downloads": -1, "filename": "notmuchtask-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ff80f7dd7925b4f249efad9639a321ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 11664, "upload_time": "2019-05-22T06:05:08", "url": "https://files.pythonhosted.org/packages/8a/be/84ef680831b12a76d91df5e77ef18967db76eac139ed50a92ae07e3d5861/notmuchtask-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "448a28def7fae9fa155fcbce06ba7323", "sha256": "44ad3ae9ee08edaa0f655c18cc7efdf51bf978181626af8514332e12cfbc04c8" }, "downloads": -1, "filename": "notmuchtask-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "448a28def7fae9fa155fcbce06ba7323", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16703, "upload_time": "2019-05-22T06:05:06", "url": "https://files.pythonhosted.org/packages/58/5d/fa79fae1ebc741e7aa5729654645b6a502f7655b51345753ecb9127b003a/notmuchtask-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff80f7dd7925b4f249efad9639a321ed", "sha256": "efd86bd8a1290c6452edc4f6687ef8731ac7ccfc9e15605127d87d399351849b" }, "downloads": -1, "filename": "notmuchtask-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ff80f7dd7925b4f249efad9639a321ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 11664, "upload_time": "2019-05-22T06:05:08", "url": "https://files.pythonhosted.org/packages/8a/be/84ef680831b12a76d91df5e77ef18967db76eac139ed50a92ae07e3d5861/notmuchtask-0.0.3.tar.gz" } ] }