{ "info": { "author": "Bernard `Guyzmo` Pratz", "author_email": "guyzmo+notmuch@m0g.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: Freely Distributable", "Topic :: Communications :: Email :: Address Book" ], "description": "Notmuch Addressbook Utility\n\nNotmuch Addressbook manager for vim\n===================================\n\nDEPENDENCES\n-----------\n\n* notmuch with python bindings\n\nINSTALL\n-------\n\n* Standalone install\n\nif you do not want to use the vim script file, you can install the module as follows:\n\n```\npython setup.py install\n```\n\nor using:\n\n```\npip install notmuch_abook\n```\n\n* Vimscript install\n\nUse vundle to install this script, add to your vimrc:\n\n```\nBundle \"guyzmo/notmuch-abook\"\n```\n\nfor convenience, you can create a symlink to your bin directory:\n```\nln -s $HOME/.vim/bundle/notmuch-abook/pylibs/notmuch_addresses.py ~/bin/notmuch-abook\n```\n\nCONFIGURATION\n-------------\n\nOpen notmuch configuration file (usually $HOME/.notmuch-config) and add:\n\n```\n[addressbook]\npath=/home/USER/.notmuch-abook.db\nbackend=sqlite3\n```\n\nwhere USER is your username (or at any other place)\n\nDefault notmuch query string is\n\n```\nNOT tag:junk AND NOT folder:drafts AND NOT tag:deleted\n```\n\nIf you prefer something else, you can specify it in notmuch configuration file:\n\n```\n[addressbook]\npath=/home/USER/.notmuch-abook.db\nbackend=sqlite3\nquery=folder:Inbox OR folder:Sent\n```\n\nIf you use a non-default notmuch configuration file, you can set it in your vimrc with:\n\n```\nlet g:notmuchconfig = \"~/.notmuch-config-custom\"\n```\n\nIn your favorite mail filter program, add a rule such as (for procmail), so all new mail will be parsed:\n\n```\n:0 Wh\n| python $HOME/.vim/bundle/notmuch-abook/pylibs/notmuch_addresses.py update\n```\n\nIf you can't use procmail (eg if you are using offlineimap) then you could put the following few lines at the start of the [post-new hook](http://notmuchmail.org/manpages/notmuch-hooks-5/) (**before** you remove the new tag). Also note this is shell syntax, so you'll have to adapt if your hook is in another language.\n\n```\n# first update notmuch-abook\nfor file in $(notmuch search --output=files tag:new) ; do\n cat $file | $HOME/bin/notmuch-abook update\ndone\n```\n\nUSAGE\n-----\n\nFor the first time, you shall launch the script as follows to create the addresses database (it takes ~20 seconds for 10000 mails):\n\n```\npython $HOME/.vim/bundle/notmuch-abook/pylibs/notmuch_addresses.py create\n```\n\nand then, to lookup an address, either you use the vimscript to complete () the name in a header field,\nor you can call it from commandline:\n\n```\npython $HOME/.vim/bundle/notmuch-abook/pylibs/notmuch_addresses.py lookup Guyz\n```\n\nthe script will match any word beginning with the pattern in the name and address parts of the entry.\n\nLICENSE\n-------\n\n(c)2013, Bernard Guyzmo Pratz, guyzmo at m0g dot net\n\nEven though it is a WTFPL license, if you do improve that code, it's great, but if you\ndon't tell me about that, you're just a moron. And if you like that code, you have the\nright to buy me a beer, thank me, or [flattr](http://flattr.com/profile/guyzmo)/[gittip](http://gittip.com/guyzmo) me.\n\n```\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \nVersion 2, December 2004 \n\nCopyright (C) 2004 Sam Hocevar \n\nEveryone is permitted to copy and distribute verbatim or modified \ncopies of this license document, and changing it is allowed as long \nas the name is changed. \n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION \n\n0. You just DO WHAT THE FUCK YOU WANT TO.\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/guyzmo/notmuch-abook/", "keywords": "notmuch addressbook vim", "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "notmuch_abook", "package_url": "https://pypi.org/project/notmuch_abook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/notmuch_abook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/guyzmo/notmuch-abook/" }, "release_url": "https://pypi.org/project/notmuch_abook/1.7/", "requires_dist": null, "requires_python": null, "summary": "Notmuch addressbook", "version": "1.7" }, "last_serial": 1691425, "releases": { "1.7": [ { "comment_text": "", "digests": { "md5": "3ebfaed2e5472773ce8d24c373bb4c97", "sha256": "2dae74fb97e2f03ffba1ef1a0ca5a5bece4ce58723bbff26627b7b8b883154c3" }, "downloads": -1, "filename": "notmuch_abook-1.7-py2.7.egg", "has_sig": false, "md5_digest": "3ebfaed2e5472773ce8d24c373bb4c97", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 16822, "upload_time": "2015-08-24T17:49:10", "url": "https://files.pythonhosted.org/packages/83/e3/69ccc7e5ecce64871759729f9f8b945287f7c04d878657b00f35da7f31ba/notmuch_abook-1.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e38b659d7a1df76ec026508e9e268b89", "sha256": "6e343321e08131a2a11939b6b54abb4a0fa17442f9b5ce6625e47c0d4d1b03ff" }, "downloads": -1, "filename": "notmuch_abook-1.7-py3.4.egg", "has_sig": false, "md5_digest": "e38b659d7a1df76ec026508e9e268b89", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 16939, "upload_time": "2015-08-24T17:49:24", "url": "https://files.pythonhosted.org/packages/6a/cd/b439378ab6460b477768a0b43150ba95332238a1566d9939a64a76c8ce30/notmuch_abook-1.7-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "f526ca40f7faf33e5604d4391b7d2b42", "sha256": "7154eab2886f0dde66106bcd1f65983953a1c9b236cd5ae5c53d119133a2f83f" }, "downloads": -1, "filename": "notmuch_abook-1.7.tar.gz", "has_sig": false, "md5_digest": "f526ca40f7faf33e5604d4391b7d2b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8248, "upload_time": "2015-08-24T17:49:15", "url": "https://files.pythonhosted.org/packages/a5/9c/d840ca22bfd0bb800413311a07d5d22e3f895502889255724cd3f4e33739/notmuch_abook-1.7.tar.gz" } ], "v1.0": [ { "comment_text": "", "digests": { "md5": "8d78f9ece71be6d151170cfa49368fde", "sha256": "84474a7404e01663a0045dc6ea7ec39401a65451abfa0c926f7a9e3a57406168" }, "downloads": -1, "filename": "notmuch_abook-v1.0-py2.7.egg", "has_sig": false, "md5_digest": "8d78f9ece71be6d151170cfa49368fde", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 9680, "upload_time": "2013-03-21T12:33:04", "url": "https://files.pythonhosted.org/packages/aa/c7/65deab6e45083d5f93814ec9ad4525964b3944e02a2f316f9939037f290c/notmuch_abook-v1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "85aec1bb0e1dc3c6c58973600c2cad6f", "sha256": "88fca3d33bba220ee5199525a1e5dc454a94e1e2ec132e8018ea12918d54b1c4" }, "downloads": -1, "filename": "notmuch_abook-v1.0.tar.gz", "has_sig": false, "md5_digest": "85aec1bb0e1dc3c6c58973600c2cad6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4009, "upload_time": "2013-03-21T12:33:09", "url": "https://files.pythonhosted.org/packages/e5/c5/770bcb6adf1b3beaa9c2dac135a4256790898ce86c2c5986579b348530c0/notmuch_abook-v1.0.tar.gz" } ], "v1.5": [ { "comment_text": "", "digests": { "md5": "0451bc9122524ba8733ff6572ff7a94e", "sha256": "8d82a112ae1888ca67da3582e6cc29b864d10ad8aecddb84973432cdb850358e" }, "downloads": -1, "filename": "notmuch_abook-v1.5-py2.7.egg", "has_sig": false, "md5_digest": "0451bc9122524ba8733ff6572ff7a94e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 10976, "upload_time": "2014-06-06T08:59:49", "url": "https://files.pythonhosted.org/packages/ee/18/8afc57045f114e41985212810902df3f4c4d304543e3106c3aa6c4692f39/notmuch_abook-v1.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b32924b7ea2da0d7cc8abf4847c2dd9f", "sha256": "24918ff234e13f0472cbf37b741fc6e9f75cd5420ad11b3ea4df44c372ae295d" }, "downloads": -1, "filename": "notmuch_abook-v1.5.tar.gz", "has_sig": false, "md5_digest": "b32924b7ea2da0d7cc8abf4847c2dd9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5630, "upload_time": "2014-06-06T08:59:46", "url": "https://files.pythonhosted.org/packages/69/35/5a4756add3f9f6c5b4ef0154f0bced293ec99875dae5d794a2eefd861c52/notmuch_abook-v1.5.tar.gz" } ], "v1.6": [ { "comment_text": "", "digests": { "md5": "3652508dd707b58ed99f5c5fd666da20", "sha256": "fa8da9998a1054bf9ef37c7e5a8bda10b8e3b708dfd88f14085abeadc21b6b68" }, "downloads": -1, "filename": "notmuch_abook-v1.6-py2.7.egg", "has_sig": false, "md5_digest": "3652508dd707b58ed99f5c5fd666da20", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 16887, "upload_time": "2014-09-18T08:53:19", "url": "https://files.pythonhosted.org/packages/08/26/1ff008fb138272c506f924e719817b795993533706327ac36551cac98ef5/notmuch_abook-v1.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d4d787c599d3b43c27c5c558eb448cf4", "sha256": "16fb55dc7c83ac32c956d210c8f2469bf8c31b0d37643598c91bde627ad7f5b8" }, "downloads": -1, "filename": "notmuch_abook-v1.6.tar.gz", "has_sig": false, "md5_digest": "d4d787c599d3b43c27c5c558eb448cf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8656, "upload_time": "2014-09-18T08:53:12", "url": "https://files.pythonhosted.org/packages/56/06/81b584eeea3d0c5962fe9b0571217f9510346b2a6c43dffc2fe44633ce3a/notmuch_abook-v1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ebfaed2e5472773ce8d24c373bb4c97", "sha256": "2dae74fb97e2f03ffba1ef1a0ca5a5bece4ce58723bbff26627b7b8b883154c3" }, "downloads": -1, "filename": "notmuch_abook-1.7-py2.7.egg", "has_sig": false, "md5_digest": "3ebfaed2e5472773ce8d24c373bb4c97", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 16822, "upload_time": "2015-08-24T17:49:10", "url": "https://files.pythonhosted.org/packages/83/e3/69ccc7e5ecce64871759729f9f8b945287f7c04d878657b00f35da7f31ba/notmuch_abook-1.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e38b659d7a1df76ec026508e9e268b89", "sha256": "6e343321e08131a2a11939b6b54abb4a0fa17442f9b5ce6625e47c0d4d1b03ff" }, "downloads": -1, "filename": "notmuch_abook-1.7-py3.4.egg", "has_sig": false, "md5_digest": "e38b659d7a1df76ec026508e9e268b89", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 16939, "upload_time": "2015-08-24T17:49:24", "url": "https://files.pythonhosted.org/packages/6a/cd/b439378ab6460b477768a0b43150ba95332238a1566d9939a64a76c8ce30/notmuch_abook-1.7-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "f526ca40f7faf33e5604d4391b7d2b42", "sha256": "7154eab2886f0dde66106bcd1f65983953a1c9b236cd5ae5c53d119133a2f83f" }, "downloads": -1, "filename": "notmuch_abook-1.7.tar.gz", "has_sig": false, "md5_digest": "f526ca40f7faf33e5604d4391b7d2b42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8248, "upload_time": "2015-08-24T17:49:15", "url": "https://files.pythonhosted.org/packages/a5/9c/d840ca22bfd0bb800413311a07d5d22e3f895502889255724cd3f4e33739/notmuch_abook-1.7.tar.gz" } ] }