{ "info": { "author": "Paul Traylor", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "GNTP\n====\n\nThis is a Python library for working with the `Growl Notification\nTransport Protocol `_\n\nIt should work as a dropin replacement for the older Python bindings\n\nInstallation\n------------\n\nYou can install with pip\n\n::\n\n $ pip install gntp\n\nthen test the module\n\n::\n\n $ python -m gntp.notifier\n\nSimple Usage\n------------\n\n::\n\n # GNTP uses the standard Python logging\n import logging\n logging.basicConfig(level=logging.INFO)\n\n import gntp.notifier\n\n # Simple \"fire and forget\" notification\n gntp.notifier.mini(\"Here's a quick message\")\n\n # More complete example\n growl = gntp.notifier.GrowlNotifier(\n applicationName = \"My Application Name\",\n notifications = [\"New Updates\",\"New Messages\"],\n defaultNotifications = [\"New Messages\"],\n # hostname = \"computer.example.com\", # Defaults to localhost\n # password = \"abc123\" # Defaults to a blank password\n )\n growl.register()\n\n # Send one message\n growl.notify(\n noteType = \"New Messages\",\n title = \"You have a new message\",\n description = \"A longer message description\",\n icon = \"http://example.com/icon.png\",\n sticky = False,\n priority = 1,\n )\n\n # Try to send a different type of message\n # This one may fail since it is not in our list\n # of defaultNotifications\n growl.notify(\n noteType = \"New Updates\",\n title = \"There is a new update to download\",\n description = \"A longer message description\",\n icon = \"http://example.com/icon.png\",\n sticky = False,\n priority = -1,\n )\n\n\nURL based images do not work in the OSX version of\n`growl `_ 1.4\nYou can send the image along with the notification to get around this.\n\n::\n\n image = open('/path/to/image.png', 'rb').read()\n growl.notify(\n noteType = \"New Messages\",\n title = \"You have a new message\",\n description = \"This time we embed the image\",\n icon = image,\n )\n\n.. note:: With Growl 2 and above user can choose to pass notification to system\n wide notifications center. In this case ``icon`` argument would be ignored\n by the notification center (there would always be Growl icon instead).\n\nBugs\n----\n\n`GitHub issue tracker `_\n\n\nChangelog\n---------\n`v1.0.3 `_\n - Allow file:// scheme to be used for icons\n\n`v1.0.2 `_\n - Fix bug with incoming password hash\n - Added info about license in each source file\n\n`v1.0.1 `_\n - Fix bug with binary data (images) being encoded incorrectly\n\n`v1.0 `_\n - Python 3.3 Support\n\n`v0.9 `_\n - Remove duplicate code from gntp.config\n - Catch all errors and rethrow them as gntp.errors to make it easier for\n other programs to deal with errors from the gntp library.\n - Ensure that we open resource files as \"rb\" and update the documentation\n\n`v0.8 `_\n - Fix a bug where resource sections were missing a CRLF\n - Fix a bug where the cli client was using config values over options\n - Add support for coalescing\n\n`v0.7 `_\n - Support for images\n - Better test coverage support\n\n`0.6 `_\n - ConfigParser aware GrowlNotifier that reads settings from ~/.gntp", "description_content_type": null, "docs_url": "https://pythonhosted.org/gntp/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/kfdm/gntp/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "gntp", "package_url": "https://pypi.org/project/gntp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gntp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/kfdm/gntp/" }, "release_url": "https://pypi.org/project/gntp/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Growl Notification Transport Protocol for Python", "version": "1.0.3" }, "last_serial": 1992715, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "97f2011e380b47b56b2725116d0cc56c", "sha256": "3847d55cbd5916c2f4c844b6f18195d9bea80d82ac1c20f152a7449588caabf2" }, "downloads": -1, "filename": "gntp-0.4.tar.gz", "has_sig": false, "md5_digest": "97f2011e380b47b56b2725116d0cc56c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5165, "upload_time": "2011-06-08T06:16:14", "url": "https://files.pythonhosted.org/packages/02/97/6eef10dc4775c3575b1a7769dcd3b476b3fd53b375cc12105cd26d757c71/gntp-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7afad3e64106858a53a180707d49f2f3", "sha256": "7999f963549454a5c31a846266ac204a8be956ac404197f8f0541f845a32f7c8" }, "downloads": -1, "filename": "gntp-0.5.tar.gz", "has_sig": false, "md5_digest": "7afad3e64106858a53a180707d49f2f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6649, "upload_time": "2011-11-11T05:20:16", "url": "https://files.pythonhosted.org/packages/81/d2/9544faf18f89b85a0976dd099428d85c8ce4281d366f4ba8ea38c8c6d9ee/gntp-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "6143c7fabdd65c1da7d68c2561a9e1ef", "sha256": "b04a7b8f97328ca629d2f8190bf036ca634b5fac5769e21d6c97e734d80e7501" }, "downloads": -1, "filename": "gntp-0.5.1.tar.gz", "has_sig": false, "md5_digest": "6143c7fabdd65c1da7d68c2561a9e1ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6633, "upload_time": "2011-11-24T05:35:39", "url": "https://files.pythonhosted.org/packages/cb/8a/c3c87c2a8bd0bd866390d04d1f4fe93c6722e3964ebed8c6f83645af3fba/gntp-0.5.1.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "5478b0ec25f308f96570200db9e3c3c8", "sha256": "45be835f8a45e67c4117139eb111596159c21c903916c2312c765455539d0bc5" }, "downloads": -1, "filename": "gntp-0.6.tar.gz", "has_sig": false, "md5_digest": "5478b0ec25f308f96570200db9e3c3c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8618, "upload_time": "2012-01-30T07:50:37", "url": "https://files.pythonhosted.org/packages/e1/4d/2e53dcedbd6f3e5ef1af7a0e4ee86b605bbdda6078301b95f08fe0f04c2a/gntp-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "74681377fb60d78e612d73bad80f3517", "sha256": "3100c57afff2bb7f2b8c4db2230d48a43267e41ca5ed5131c4d9689361f7fc1f" }, "downloads": -1, "filename": "gntp-0.7.tar.gz", "has_sig": false, "md5_digest": "74681377fb60d78e612d73bad80f3517", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8306, "upload_time": "2012-02-27T05:14:57", "url": "https://files.pythonhosted.org/packages/fd/5c/aa6739a6b25f66fd28921785879f263ae047bac3b4380e4fce95003a9e95/gntp-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "1faaac885e2d3c6e16866a5f2c2e96a3", "sha256": "3e9d9992c722cb83da7d75c495a97c8a991285aec3afa1777e93012e06680869" }, "downloads": -1, "filename": "gntp-0.8.tar.gz", "has_sig": false, "md5_digest": "1faaac885e2d3c6e16866a5f2c2e96a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9732, "upload_time": "2012-09-04T00:28:00", "url": "https://files.pythonhosted.org/packages/ed/c8/e313c5158b023b28cf07b745c4b6643de90e52e34c9389ed31eb3415f14b/gntp-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "e2cd295dfad1aa6c4d1103775f79cd2a", "sha256": "2eda6d0bf631e459c5d317114304c0bfb6e1f63b5c4442154c50db37c2f4f10a" }, "downloads": -1, "filename": "gntp-0.9.tar.gz", "has_sig": false, "md5_digest": "e2cd295dfad1aa6c4d1103775f79cd2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10127, "upload_time": "2013-01-25T04:53:14", "url": "https://files.pythonhosted.org/packages/ff/05/cc3c6e21b974f96e233abf4e265ff0c6f2307a362b993fc983b126131dd1/gntp-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "99b8a20ce04c9a95aba078bbe4a0670d", "sha256": "d3c1239a8fc734856d105e30596b01af41c48c1402445cd34be87e081a3d25e7" }, "downloads": -1, "filename": "gntp-1.0.tar.gz", "has_sig": false, "md5_digest": "99b8a20ce04c9a95aba078bbe4a0670d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10812, "upload_time": "2013-03-11T03:59:26", "url": "https://files.pythonhosted.org/packages/42/a4/5c2c909b59d38b4c403212370160e06e1894fefd1197abac895d01cf417d/gntp-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1876dbf458f5619e41c7cea1e437e6d6", "sha256": "bad7a9a3d877e46dc13ad60cacca0442901ed9ebd96708cebe9b8f280652e382" }, "downloads": -1, "filename": "gntp-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1876dbf458f5619e41c7cea1e437e6d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10889, "upload_time": "2013-03-12T05:21:23", "url": "https://files.pythonhosted.org/packages/de/13/fd85229d9fbddae4e2e44cdb7ae61f737239b4fe2181b97f9a04a46ac61c/gntp-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "3684dca4d097ff12864bbf6587a01a6f", "sha256": "622297b42178904db9144aa71f3fa6abcb0fbb806d0c350505c7c03919b28aa2" }, "downloads": -1, "filename": "gntp-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3684dca4d097ff12864bbf6587a01a6f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15947, "upload_time": "2015-07-02T06:01:51", "url": "https://files.pythonhosted.org/packages/f7/bf/7a69fa8b2ee3ef2640668775eebdf5f2c56c0f8c3798a90a512c610ee2a5/gntp-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7883e733617dc8c8d5b28fa4663704b", "sha256": "8b94a071deca2a1d24825620bf781e6261e1587bc9c401c7c7258abed934fc78" }, "downloads": -1, "filename": "gntp-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b7883e733617dc8c8d5b28fa4663704b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11108, "upload_time": "2013-11-03T22:49:44", "url": "https://files.pythonhosted.org/packages/b4/b7/98df1014ab7718923e73469feddda726f4319994b864b7b9adb39e5e7ad6/gntp-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "4d80ab4489cd608f80a58fd9055692ae", "sha256": "ad6b774004febdad088b26bb0e53915d1f40e9da862d25872f0a317f3b30b518" }, "downloads": -1, "filename": "gntp-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "4d80ab4489cd608f80a58fd9055692ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15683, "upload_time": "2016-03-06T22:48:55", "url": "https://files.pythonhosted.org/packages/52/2e/f5825d3621e2130c779285547091bff80b4cc73e8a04511797b16cfe508a/gntp-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd338cab3423b169087206b4885f2bd4", "sha256": "9db9b1c3d9af0bc85043cefb32ed3876b093290698e4cf427321f6c72e0e9920" }, "downloads": -1, "filename": "gntp-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "dd338cab3423b169087206b4885f2bd4", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16167, "upload_time": "2016-03-06T22:51:33", "url": "https://files.pythonhosted.org/packages/a7/34/d94c3c9298d57dfcdbcd1f9412b9aa9818fdab53704dfc53d594df1c5830/gntp-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2c85eb3e3243255ac8f03af5d05b859", "sha256": "f4a4f2009ecb8bb41a1aaddd5fb7c03087b2a14cac2c03af029ba04b9166dae0" }, "downloads": -1, "filename": "gntp-1.0.3.tar.gz", "has_sig": false, "md5_digest": "a2c85eb3e3243255ac8f03af5d05b859", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10839, "upload_time": "2016-03-06T22:48:31", "url": "https://files.pythonhosted.org/packages/c4/6c/fabf97b5260537065f32a85930eb62776e80ba8dcfed78d4247584fd9aa9/gntp-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d80ab4489cd608f80a58fd9055692ae", "sha256": "ad6b774004febdad088b26bb0e53915d1f40e9da862d25872f0a317f3b30b518" }, "downloads": -1, "filename": "gntp-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "4d80ab4489cd608f80a58fd9055692ae", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15683, "upload_time": "2016-03-06T22:48:55", "url": "https://files.pythonhosted.org/packages/52/2e/f5825d3621e2130c779285547091bff80b4cc73e8a04511797b16cfe508a/gntp-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd338cab3423b169087206b4885f2bd4", "sha256": "9db9b1c3d9af0bc85043cefb32ed3876b093290698e4cf427321f6c72e0e9920" }, "downloads": -1, "filename": "gntp-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "dd338cab3423b169087206b4885f2bd4", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 16167, "upload_time": "2016-03-06T22:51:33", "url": "https://files.pythonhosted.org/packages/a7/34/d94c3c9298d57dfcdbcd1f9412b9aa9818fdab53704dfc53d594df1c5830/gntp-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a2c85eb3e3243255ac8f03af5d05b859", "sha256": "f4a4f2009ecb8bb41a1aaddd5fb7c03087b2a14cac2c03af029ba04b9166dae0" }, "downloads": -1, "filename": "gntp-1.0.3.tar.gz", "has_sig": false, "md5_digest": "a2c85eb3e3243255ac8f03af5d05b859", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10839, "upload_time": "2016-03-06T22:48:31", "url": "https://files.pythonhosted.org/packages/c4/6c/fabf97b5260537065f32a85930eb62776e80ba8dcfed78d4247584fd9aa9/gntp-1.0.3.tar.gz" } ] }