{ "info": { "author": "YunoJuno", "author_email": "code@yunojuno.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://travis-ci.org/yunojuno/hipchat-notifications.svg?branch=master\n :target: https://travis-ci.org/yunojuno/hipchat-notifications\n\n.. image:: https://badge.fury.io/py/hipchat-notifications.svg\n :target: https://badge.fury.io/py/hipchat-notifications\n\nHipChat Notifications\n=====================\n\nThis is a very simple library for sending user and room notifications to HipChat via their v2 API.\n\nIt contains a couple of generic functions for sending messages\nto rooms and users within HipChat.\n\n.. code:: python\n\n >>> hipchat.notify_room('Customer Service', 'This is a message')\n >>> hipchat.notify_user('hugo', 'Hello, Hugo')\n\nIt includes some colour-specific helpers for room-only notifications:\n\n.. code:: python\n\n >>> hipchat.green('Customer service', 'This is a green message')\n\nThe functions support the ``message_format`` values:\n\n **html** - Message is rendered as HTML and receives no special treatment. Must be valid HTML and entities must be escaped (e.g.: '&' instead of '&'). May contain basic tags: a, b, i, strong, em, br, img, pre, code, lists, tables.\n\n **text** - Message is treated just like a message sent by a user. Can include @mentions, emoticons, pastes, and auto-detected URLs (Twitter, YouTube, images, etc).\n\n >>> hipchat.green('Customer service', 'Hello @fred', message_format='text')\n\nThe ``color``, ``notify`` and ``from`` parameters are also supported (``from`` is passed as a kwarg called ``label``):\n\n.. code:: python\n\n >>> notify_room(\n ... 'customer service',\n ... 'Hey there @Tony',\n ... color='red',\n ... label='baz',\n ... notify=True,\n ... message_format='text'\n ... )\n\nSettings\n--------\n\nThe following settings are read from the environment using ``os.getenv``\n\n* ``HIPCHAT_API_TOKEN``\n\nA valid API access token. See the `API docs `_ for details on how to\ngenerate a token. (Hint: the easiest way is to use a \"Personal access token\"\ngenerated through the site.)\n\nIf there is no token set in the environment the notifications will be logged\nusing the 'hipchat' logger, with a DEBUG level.\n\nInstallation\n------------\n\nThe library is available on PyPI as 'hipchat_notifications'.\n\nTests\n-----\n\nThe tests can be run using ``tox``:\n\n.. code:: shell\n\n $ tox\n\n\nContributors\n------------\n\n* Hugo Rodger-Brown - @hugorodgerbrown\n* Roberto Salgado - @droberin\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yunojuno/hipchat-notifications", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "hipchat-notifications", "package_url": "https://pypi.org/project/hipchat-notifications/", "platform": "", "project_url": "https://pypi.org/project/hipchat-notifications/", "project_urls": { "Homepage": "https://github.com/yunojuno/hipchat-notifications" }, "release_url": "https://pypi.org/project/hipchat-notifications/0.4.1/", "requires_dist": null, "requires_python": "", "summary": "Basic functions for sending notifications via HipChat API (v2)", "version": "0.4.1" }, "last_serial": 3016854, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4977cbf9ccb8c915dcaf1752cc0a7804", "sha256": "2b15aa899c46dfcabef83e95e3c32c2963369979fe116fca39c38d545e8c090e" }, "downloads": -1, "filename": "hipchat-notifications-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4977cbf9ccb8c915dcaf1752cc0a7804", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4782, "upload_time": "2016-11-25T18:40:44", "url": "https://files.pythonhosted.org/packages/93/b6/e7ff794d196d3b96fe43fae1fcb7b4147e57b6669cade339897f4cb41cb0/hipchat-notifications-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0bd11ccb3044789f8769b0bc9aa61b2e", "sha256": "c2d63cc2bdc70c8d62008a32f6a12c15dbf8f4d62d57a5f7093a4fc6c1d23a1c" }, "downloads": -1, "filename": "hipchat-notifications-0.1.1.macosx-10.12-intel.tar.gz", "has_sig": false, "md5_digest": "0bd11ccb3044789f8769b0bc9aa61b2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8100, "upload_time": "2016-11-25T18:57:41", "url": "https://files.pythonhosted.org/packages/d8/8c/978429419293995b50b769936a483690bfb7969f3466bfa9edbcfdac7a62/hipchat-notifications-0.1.1.macosx-10.12-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "ee4f8443ac6c5affbfec3f8ba1c7ff0d", "sha256": "364956fdadd585eef219e632a5b68b56842189346a4e350cd6984727a2c673ea" }, "downloads": -1, "filename": "hipchat-notifications-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ee4f8443ac6c5affbfec3f8ba1c7ff0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4844, "upload_time": "2016-11-25T18:57:20", "url": "https://files.pythonhosted.org/packages/c6/34/af42db9b9e9b7aab1c27fd7e2cc6ba16c0e181ba7100be65839f8b260f98/hipchat-notifications-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3ddfdd61afe295b68d5b4f6722bbb7ac", "sha256": "7a97d8716fab142640a0916db0c98aeff91a9949cc3c3a76b0f82e05d6ffbe66" }, "downloads": -1, "filename": "hipchat-notifications-0.2.0.macosx-10.12-x86_64.tar.gz", "has_sig": false, "md5_digest": "3ddfdd61afe295b68d5b4f6722bbb7ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10107, "upload_time": "2016-12-01T09:20:52", "url": "https://files.pythonhosted.org/packages/24/2a/4e12c1ce16d59e36adbfd455ad70fa76b3b8c10467a65147354e27614926/hipchat-notifications-0.2.0.macosx-10.12-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "8f0aac21074da4c03651f3d7f5e2da93", "sha256": "d6c5757760fa321e17ed8094fff0d1bff5dc2c42ce73b82aa20ffe32a18a0526" }, "downloads": -1, "filename": "hipchat-notifications-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8f0aac21074da4c03651f3d7f5e2da93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6235, "upload_time": "2016-12-01T09:20:54", "url": "https://files.pythonhosted.org/packages/a3/c1/dd7a26a04e740d257dbc0e42e523e0f3a5ddbf79a008ef0edcff69b9721a/hipchat-notifications-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "30cb420a1e0b6e5f76598ec8fd82c669", "sha256": "49cfabe55fdc365f2d625611bfd7e0d0b80333b85c31a6cede1b5dad5e3e9793" }, "downloads": -1, "filename": "hipchat-notifications-0.2.1.macosx-10.12-intel.tar.gz", "has_sig": false, "md5_digest": "30cb420a1e0b6e5f76598ec8fd82c669", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10311, "upload_time": "2016-12-01T12:17:05", "url": "https://files.pythonhosted.org/packages/98/f5/d3fd69a3c4c6fed6f8e0ade89f4c679d8d5d7e4b31ad5fcf9c6d310f461b/hipchat-notifications-0.2.1.macosx-10.12-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "37076f70dfa6b71bf2bcfd308b665a40", "sha256": "122b8d1f9a33803f07c230d17bd1942832e2dd7025d407cd4c0a5611d2026c33" }, "downloads": -1, "filename": "hipchat-notifications-0.2.1.tar.gz", "has_sig": false, "md5_digest": "37076f70dfa6b71bf2bcfd308b665a40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6243, "upload_time": "2016-12-01T12:17:07", "url": "https://files.pythonhosted.org/packages/0a/69/3fc1ac0c89a4a1375fb8a587514baeaa9ef4d7781d280aae9716e34e1201/hipchat-notifications-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f147067be5d187eace0b90e9cb1441d2", "sha256": "96013a383dd5a3528804a7aac803e569a4e3ed6301225e2a7bace9ad0f6c4de7" }, "downloads": -1, "filename": "hipchat_notifications-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "f147067be5d187eace0b90e9cb1441d2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10354, "upload_time": "2017-04-09T16:19:39", "url": "https://files.pythonhosted.org/packages/70/49/12323497ac7622f26d29da07626e6097fa77979926ade75d25f29f68a4ea/hipchat_notifications-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2598c55f2500bc0c51d1117b84fcfb4f", "sha256": "d6fd67a846e3f1078cc375152b5b373bc424c4dd375b9d352f5523703c8f8eda" }, "downloads": -1, "filename": "hipchat-notifications-0.3.tar.gz", "has_sig": false, "md5_digest": "2598c55f2500bc0c51d1117b84fcfb4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7532, "upload_time": "2017-04-09T16:19:37", "url": "https://files.pythonhosted.org/packages/18/f9/223f3c6c265f6ad557eae84814c416beb94244c2f04a0a149474f8671bc7/hipchat-notifications-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "73845846fdf7d4083f597e321f2bc0ce", "sha256": "64b600e4d8e56501af8b670081157205e163dcb4886517ca8afadea3fec7c158" }, "downloads": -1, "filename": "hipchat_notifications-0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "73845846fdf7d4083f597e321f2bc0ce", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10405, "upload_time": "2017-07-11T07:28:53", "url": "https://files.pythonhosted.org/packages/c3/e2/98c33298e88a87fa869cee2478a8a7119ebd3c7fae8ebb90b28650c0fce1/hipchat_notifications-0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "14801891ced8f9a80de21e21f8b6ac7f", "sha256": "fba640289634f626972d62e599e245e8c96b7712109a63b507a72528b63b09e6" }, "downloads": -1, "filename": "hipchat-notifications-0.4.tar.gz", "has_sig": false, "md5_digest": "14801891ced8f9a80de21e21f8b6ac7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7580, "upload_time": "2017-07-11T07:28:52", "url": "https://files.pythonhosted.org/packages/09/cd/6ad9d769c7b2904110619bb0848e20479e6c0c1d914e0df2cd47342ecbeb/hipchat-notifications-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "884bf71b9abefe3976d2b3027df708fe", "sha256": "2ebfb19e05b6e7205a54ff8585d954b497041add1dd66dc061e7378c0040932f" }, "downloads": -1, "filename": "hipchat_notifications-0.4.1-py2-none-any.whl", "has_sig": false, "md5_digest": "884bf71b9abefe3976d2b3027df708fe", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10545, "upload_time": "2017-07-12T08:36:03", "url": "https://files.pythonhosted.org/packages/dc/9f/35237ea477e849159ce428519094224d5c1e4e3cc907b682b7ebebe06629/hipchat_notifications-0.4.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad8bf262cfd3b4284dac7e251e99b84f", "sha256": "0d42bf1acd1b73d42b01a88a01199105406b2f61e1f23b60a387a4450ac35a39" }, "downloads": -1, "filename": "hipchat-notifications-0.4.1.tar.gz", "has_sig": false, "md5_digest": "ad8bf262cfd3b4284dac7e251e99b84f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7659, "upload_time": "2017-07-12T08:36:01", "url": "https://files.pythonhosted.org/packages/bf/8f/b06cc4da53f49296fa343edbb451a26dca7c01bd4e8bcc90c786b0e332dc/hipchat-notifications-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "884bf71b9abefe3976d2b3027df708fe", "sha256": "2ebfb19e05b6e7205a54ff8585d954b497041add1dd66dc061e7378c0040932f" }, "downloads": -1, "filename": "hipchat_notifications-0.4.1-py2-none-any.whl", "has_sig": false, "md5_digest": "884bf71b9abefe3976d2b3027df708fe", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10545, "upload_time": "2017-07-12T08:36:03", "url": "https://files.pythonhosted.org/packages/dc/9f/35237ea477e849159ce428519094224d5c1e4e3cc907b682b7ebebe06629/hipchat_notifications-0.4.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad8bf262cfd3b4284dac7e251e99b84f", "sha256": "0d42bf1acd1b73d42b01a88a01199105406b2f61e1f23b60a387a4450ac35a39" }, "downloads": -1, "filename": "hipchat-notifications-0.4.1.tar.gz", "has_sig": false, "md5_digest": "ad8bf262cfd3b4284dac7e251e99b84f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7659, "upload_time": "2017-07-12T08:36:01", "url": "https://files.pythonhosted.org/packages/bf/8f/b06cc4da53f49296fa343edbb451a26dca7c01bd4e8bcc90c786b0e332dc/hipchat-notifications-0.4.1.tar.gz" } ] }