gntplib


Namegntplib JSON
Version 0.66 PyPI version JSON
download
home_pagehttp://github.com/papaeye/gntplib
SummaryA Growl Notification Transport Protocol (GNTP) client library in Python
upload_time2025-02-01 23:14:12
maintainerNone
docs_urlNone
authorpapaeye
requires_pythonNone
licenseBSD License
keywords gntp growl async
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            gntplib
=======

gntplib is a Growl Notification Transport Protocol (GNTP_) client library in
Python.

gntplib is tested on Python 2.7/3.2, Growl_ 1.3.3 and
`Growl for Windows`_ 2.0.9.

.. _GNTP: http://www.growlforwindows.com/gfw/help/gntp.aspx
.. _Growl: http://growl.info/
.. _Growl for Windows: http://www.growlforwindows.com/

Installation
------------

Simply use pip::

    $ pip install gntplib

There are the following **optional** prerequisites.

* ``pycrypto`` - to use ``gntplib.ciphers`` module for message encryption
* ``tornado`` - to use ``gntplib.async`` module for asynchronous processing

Documentation
-------------

Release version: http://packages.python.org/gntplib/ (`ja
<http://packages.python.org/gntplib/ja/>`_)

Development version: http://gntplib.readthedocs.org/en/latest/

History
-------

0.5 (2012-04-13)
~~~~~~~~~~~~~~~~

* Support ``SUBSCRIBE`` request.

  - Add ``gntplib.subscribe()``, ``gntplib.Subscriber`` and
    ``gntplib.async.AsyncSubscriber``.

* Support Custom Headers and App-Specific Headers.

* Deprecate ``gntplib.notify()``, ``gntplib.Notifier()`` and
  ``gntplib.AsyncNotifier()`` in favor of ``gntplib.publish()``,
  ``gntplib.Publisher()`` and ``gntplib.async.AsyncPublisher()``.

* Deprecate ``gntplib.RawIcon`` and ``gntplib.async.AsyncIcon`` in favor of
  ``gntplib.Resource`` and ``gntplib.async.AsyncResource``.

0.4 (2012-04-07)
~~~~~~~~~~~~~~~~

* Support password and encryption
* Support Growl for Windows

0.3 (2012-03-30)
~~~~~~~~~~~~~~~~

* Support Python 3

0.2 (2012-03-18)
~~~~~~~~~~~~~~~~

* Add support for asynchronous processing built on Tornado.

  - Add ``gntplib.async.AsyncNotifier`` and ``gntplib.async.AsyncIcon``.

* Imporve usability of callback.

  - ``SocketCallback``:  Now ``SocketCallback`` is not a abstract class, but
    represents a socket callback.  Its ``if_clicked``, ``if_closed`` and
    ``if_timedout`` methods are replaced with ``on_click``, ``on_close`` and
    ``on_timeout`` methods respectively, which can be set at the constructor.

  - ``Notifier.notify()``:  Redefine ``callback`` argument as for the callback
    to run after closing the connection with the GNTP server.
    Add ``gntp_callback`` argument for url callback (as string) and socket
    callback (as ``SocketCallback`` instance).
    Add ``context``, ``context_type``, ``on_click``, ``on_close`` and
    ``on_timeout`` arguments to define a socket callback easily.

* Remove ``callback`` argument from ``gntplib.notify()``.

* Rename ``gntplib.Icon`` to ``gntplib.RawIcon``.

0.1 (2012-03-12)
~~~~~~~~~~~~~~~~

* Initial release.

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/papaeye/gntplib",
    "name": "gntplib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "gntp growl async",
    "author": "papaeye",
    "author_email": "papaeye@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7e/7f/e429a54537431732fc1af36a90865bd06de32d0a4aec506c6bed2f0e40f2/gntplib-0.66.tar.gz",
    "platform": "any",
    "description": "gntplib\r\n=======\r\n\r\ngntplib is a Growl Notification Transport Protocol (GNTP_) client library in\r\nPython.\r\n\r\ngntplib is tested on Python 2.7/3.2, Growl_ 1.3.3 and\r\n`Growl for Windows`_ 2.0.9.\r\n\r\n.. _GNTP: http://www.growlforwindows.com/gfw/help/gntp.aspx\r\n.. _Growl: http://growl.info/\r\n.. _Growl for Windows: http://www.growlforwindows.com/\r\n\r\nInstallation\r\n------------\r\n\r\nSimply use pip::\r\n\r\n    $ pip install gntplib\r\n\r\nThere are the following **optional** prerequisites.\r\n\r\n* ``pycrypto`` - to use ``gntplib.ciphers`` module for message encryption\r\n* ``tornado`` - to use ``gntplib.async`` module for asynchronous processing\r\n\r\nDocumentation\r\n-------------\r\n\r\nRelease version: http://packages.python.org/gntplib/ (`ja\r\n<http://packages.python.org/gntplib/ja/>`_)\r\n\r\nDevelopment version: http://gntplib.readthedocs.org/en/latest/\r\n\r\nHistory\r\n-------\r\n\r\n0.5 (2012-04-13)\r\n~~~~~~~~~~~~~~~~\r\n\r\n* Support ``SUBSCRIBE`` request.\r\n\r\n  - Add ``gntplib.subscribe()``, ``gntplib.Subscriber`` and\r\n    ``gntplib.async.AsyncSubscriber``.\r\n\r\n* Support Custom Headers and App-Specific Headers.\r\n\r\n* Deprecate ``gntplib.notify()``, ``gntplib.Notifier()`` and\r\n  ``gntplib.AsyncNotifier()`` in favor of ``gntplib.publish()``,\r\n  ``gntplib.Publisher()`` and ``gntplib.async.AsyncPublisher()``.\r\n\r\n* Deprecate ``gntplib.RawIcon`` and ``gntplib.async.AsyncIcon`` in favor of\r\n  ``gntplib.Resource`` and ``gntplib.async.AsyncResource``.\r\n\r\n0.4 (2012-04-07)\r\n~~~~~~~~~~~~~~~~\r\n\r\n* Support password and encryption\r\n* Support Growl for Windows\r\n\r\n0.3 (2012-03-30)\r\n~~~~~~~~~~~~~~~~\r\n\r\n* Support Python 3\r\n\r\n0.2 (2012-03-18)\r\n~~~~~~~~~~~~~~~~\r\n\r\n* Add support for asynchronous processing built on Tornado.\r\n\r\n  - Add ``gntplib.async.AsyncNotifier`` and ``gntplib.async.AsyncIcon``.\r\n\r\n* Imporve usability of callback.\r\n\r\n  - ``SocketCallback``:  Now ``SocketCallback`` is not a abstract class, but\r\n    represents a socket callback.  Its ``if_clicked``, ``if_closed`` and\r\n    ``if_timedout`` methods are replaced with ``on_click``, ``on_close`` and\r\n    ``on_timeout`` methods respectively, which can be set at the constructor.\r\n\r\n  - ``Notifier.notify()``:  Redefine ``callback`` argument as for the callback\r\n    to run after closing the connection with the GNTP server.\r\n    Add ``gntp_callback`` argument for url callback (as string) and socket\r\n    callback (as ``SocketCallback`` instance).\r\n    Add ``context``, ``context_type``, ``on_click``, ``on_close`` and\r\n    ``on_timeout`` arguments to define a socket callback easily.\r\n\r\n* Remove ``callback`` argument from ``gntplib.notify()``.\r\n\r\n* Rename ``gntplib.Icon`` to ``gntplib.RawIcon``.\r\n\r\n0.1 (2012-03-12)\r\n~~~~~~~~~~~~~~~~\r\n\r\n* Initial release.\r\n",
    "bugtrack_url": null,
    "license": "BSD License",
    "summary": "A Growl Notification Transport Protocol (GNTP) client library in Python",
    "version": "0.66",
    "project_urls": {
        "Homepage": "http://github.com/papaeye/gntplib"
    },
    "split_keywords": [
        "gntp",
        "growl",
        "async"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3d929a9e0cb24fda04ed62ab936e7391d2c7796b695c5c1ade7004bb4f7254e",
                "md5": "0f87ddcdf050ed95f2d775cef5ce67c1",
                "sha256": "1c76113e2b22d2cc663c75ce408b951b808761e309d62ac15bdf833f41012c5e"
            },
            "downloads": -1,
            "filename": "gntplib-0.66-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0f87ddcdf050ed95f2d775cef5ce67c1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15598,
            "upload_time": "2025-02-01T23:14:10",
            "upload_time_iso_8601": "2025-02-01T23:14:10.210018Z",
            "url": "https://files.pythonhosted.org/packages/f3/d9/29a9e0cb24fda04ed62ab936e7391d2c7796b695c5c1ade7004bb4f7254e/gntplib-0.66-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7e7fe429a54537431732fc1af36a90865bd06de32d0a4aec506c6bed2f0e40f2",
                "md5": "ede0ba7abe7c9c43855ba4352f2ea108",
                "sha256": "de8ffcbbd083f9aa0bda14ebbf4ffb2733fde62a5ccc048c66ea18c31834158d"
            },
            "downloads": -1,
            "filename": "gntplib-0.66.tar.gz",
            "has_sig": false,
            "md5_digest": "ede0ba7abe7c9c43855ba4352f2ea108",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 145498,
            "upload_time": "2025-02-01T23:14:12",
            "upload_time_iso_8601": "2025-02-01T23:14:12.518172Z",
            "url": "https://files.pythonhosted.org/packages/7e/7f/e429a54537431732fc1af36a90865bd06de32d0a4aec506c6bed2f0e40f2/gntplib-0.66.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-01 23:14:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "papaeye",
    "github_project": "gntplib",
    "github_not_found": true,
    "lcname": "gntplib"
}
        
Elapsed time: 0.43476s