{ "info": { "author": "Thomas Kluyver", "author_email": "takowl@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Desktop Environment", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "This is a pure-python replacement for notify-python, using python-dbus\nto communicate with the notifications server directly. It's compatible with\nPython 2 and 3, and its callbacks can work with Gtk 3 or Qt 4 applications.\n\nTo use it, first call ``notify2.init('app name')``, then create and show notifications::\n\n n = notify2.Notification(\"Summary\",\n \"Some body text\",\n \"notification-message-im\" # Icon name\n )\n n.show()\n\nAPI docs are `available on ReadTheDocs `_,\nor you can refer to docstrings.\n\nBased on the notifications spec at:\nhttp://developer.gnome.org/notification-spec/\n\nPorting applications from pynotify\n----------------------------------\n\nThere are a few differences from pynotify you should be aware of:\n\n- If you need callbacks from notifications, notify2 must know about your event\n loop. The simplest way is to pass 'glib' or 'qt' as the ``mainloop`` parameter\n to ``init``.\n- The methods ``attach_to_widget`` and ``attach_to_status_icon`` are not\n implemented. You can calculate the location you want the notification to\n appear and call ``Notification``.\n- ``set_property`` and ``get_property`` are not implemented. The summary, body\n and icon are accessible as attributes of a ``Notification`` instance.\n- Various methods that pynotify Notification instances got from gobject do not\n exist, or only implement part of the functionality.\n\nSeveral pynotify functions, especially getters and setters, are only supported\nfor compatibility. You are encouraged to use more direct, Pythonic alternatives.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/takluyver/pynotify2", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "notify2", "package_url": "https://pypi.org/project/notify2/", "platform": "", "project_url": "https://pypi.org/project/notify2/", "project_urls": { "Homepage": "https://bitbucket.org/takluyver/pynotify2" }, "release_url": "https://pypi.org/project/notify2/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Python interface to DBus notifications", "version": "0.3.1" }, "last_serial": 2837220, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "142fc9fc9626d3cd40444225a21c7505", "sha256": "aec41cd4ef391b398ce3a797d760305da2a63cd600adf5634d58eee3b0a23e14" }, "downloads": -1, "filename": "notify2-0.1.tar.gz", "has_sig": false, "md5_digest": "142fc9fc9626d3cd40444225a21c7505", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8676, "upload_time": "2012-05-12T01:54:52", "url": "https://files.pythonhosted.org/packages/2e/5d/9c1eb5669a16c39d30fdeb082fd3045cb1b6470913ce2e24bfb9c681db46/notify2-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "630be1832517230b724c4b0b9e964bb2", "sha256": "cffd1d1e5023311a2c63aef9ee23e82404b0a07d52a618dd53ddc7c6d4809ae6" }, "downloads": -1, "filename": "notify2-0.2.tar.gz", "has_sig": false, "md5_digest": "630be1832517230b724c4b0b9e964bb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8789, "upload_time": "2012-05-14T20:17:37", "url": "https://files.pythonhosted.org/packages/11/1f/498a9fed1fcf890b7ff7ed861e876828ec9f5901e2008d6f09e24a5b7ff0/notify2-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "6b2f6400999956652e4c9bc83d87607b", "sha256": "684281f91c51fc60bc7909a35bd21d043a2a421f4e269de1ed1f13845d1d6321" }, "downloads": -1, "filename": "notify2-0.3.tar.gz", "has_sig": false, "md5_digest": "6b2f6400999956652e4c9bc83d87607b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8798, "upload_time": "2012-05-14T20:50:18", "url": "https://files.pythonhosted.org/packages/7f/be/f749b44ac10ca9e4b9e54a9549e37233b30451bd1c12ece640bec730c0e5/notify2-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "3569aad34e89fe78ad3aa5fec5f14c39", "sha256": "d7e27e63c2120c074225e526754101e22f029e38e5f002b1ceaa965258bf1073" }, "downloads": -1, "filename": "notify2-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3569aad34e89fe78ad3aa5fec5f14c39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8033, "upload_time": "2017-04-28T14:03:42", "url": "https://files.pythonhosted.org/packages/f9/69/99d2bc2d98a802b6f58d1e0a774a933b3fea5ef11455379561b71c04370b/notify2-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffccaed9330787c7442b453f6520a474", "sha256": "33fa108d50c42f3cd3407cc437518ad3f6225d1bb237011f16393c9dd3ce197d" }, "downloads": -1, "filename": "notify2-0.3.1.tar.gz", "has_sig": false, "md5_digest": "ffccaed9330787c7442b453f6520a474", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17792, "upload_time": "2017-04-28T14:03:44", "url": "https://files.pythonhosted.org/packages/aa/e8/d4b335aa739dc299a77766ecc5f1972d1de1993524aa94acef3219bba315/notify2-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3569aad34e89fe78ad3aa5fec5f14c39", "sha256": "d7e27e63c2120c074225e526754101e22f029e38e5f002b1ceaa965258bf1073" }, "downloads": -1, "filename": "notify2-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3569aad34e89fe78ad3aa5fec5f14c39", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8033, "upload_time": "2017-04-28T14:03:42", "url": "https://files.pythonhosted.org/packages/f9/69/99d2bc2d98a802b6f58d1e0a774a933b3fea5ef11455379561b71c04370b/notify2-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ffccaed9330787c7442b453f6520a474", "sha256": "33fa108d50c42f3cd3407cc437518ad3f6225d1bb237011f16393c9dd3ce197d" }, "downloads": -1, "filename": "notify2-0.3.1.tar.gz", "has_sig": false, "md5_digest": "ffccaed9330787c7442b453f6520a474", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17792, "upload_time": "2017-04-28T14:03:44", "url": "https://files.pythonhosted.org/packages/aa/e8/d4b335aa739dc299a77766ecc5f1972d1de1993524aa94acef3219bba315/notify2-0.3.1.tar.gz" } ] }