{ "info": { "author": "Kenneth Wilke", "author_email": "kenneth.wilke@rackspace.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: OS Independent", "Topic :: System :: Monitoring" ], "description": "=================\nPingdomLib v2.0.3\n=================\nWritten by: Kenneth Wilke \n\nThis is a python library to provide full access to the pingdom API, along with\na few additional features to make using the API easier and pythonic.\n\nUsage examples\n=================\n\nConnecting to pingdom\n---------------------\n\n.. code-block:: python\n\n import pingdomlib\n api = pingdomlib.Pingdom(username, password, apikey)\n\nShow all checks that are not in 'UP' status\n-------------------------------------------\n\n.. code-block:: python\n\n # See pingdomlib.pingdom documentation to see available calls and settings\n pingdomchecks = api.getChecks()\n for check in pingdomchecks:\n # See pingdomlib.check documentation for information on PingdomCheck class\n if check.status != 'up':\n print check\n\nCreating a new check\n--------------------\n\n.. code-block:: python\n\n newcheck = api.newCheck(\"New check name\", \"www.hostnametocheck.com\")\n\nUpdating a check\n----------------\n\n.. code-block:: python\n\n # Updates to check objects are pushed immediately to pingdom\n newcheck.paused = True\n\nDisabling change pushing for checks\n-----------------------------------\n\n.. code-block:: python\n\n api.pushChanges = False\n\nGet last 10 pingdom alerts sent\n-------------------------------\n\n.. code-block:: python\n\n import datetime\n for alert in api.alerts(limit=10):\n time = datetime.datetime.fromtimestamp(alert['time'])\n timestamp = time.strftime('%Y-%m-%d %H:%M:%S')\n\n print \"[%s] %s is %s\" % (time, alert['name'], alert['status'])\n\nGet outages for a specific check\n--------------------------------\n\n.. code-block:: python\n\n import datetime\n check = api.getCheck(227878)\n for outage in check.outages():\n # timestamp conversion\n time_start = datetime.datetime.fromtimestamp(outage['timefrom'])\n timestamp_start = time_start.strftime('%Y-%m-%d %H:%M:%S')\n time_end = datetime.datetime.fromtimestamp(outage['timeto'])\n timestamp_end = time_end.strftime('%Y-%m-%d %H:%M:%S')\n\n print \"%s: %s from %s to %s [%dm]\" % (check.name, outage['status'],\n timestamp_start, timestamp_end,\n (outage['timeto'] -\n outage['timefrom']) / 60)\n\nContributors\n============\n* Wil Clouser\n* Ash Berlin\n* Wu Jiang\n* Gertjan Oude Lohuis\n* Benjamin Boudreau\n* Britt Gresham\n* Allard Hoeve\n* Willem de Groot\n* Aaron Fay\n* Rick van de Loo\n* Oleksandr Kushchenko\n* Steven Bailey\n\nSpecial thanks\n==============\nAnders Ekman, Pingdom, for offering warm and helpful support with the API\n\nTODO list\n=========\nPlanned improvements\n--------------------\n* Optional Gzip Compression\n* Improve check update process with pushChanges disabled", "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/KennethWilke/PingdomLib", "keywords": null, "license": "ISC license", "maintainer": null, "maintainer_email": null, "name": "PingdomLib", "package_url": "https://pypi.org/project/PingdomLib/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PingdomLib/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/KennethWilke/PingdomLib" }, "release_url": "https://pypi.org/project/PingdomLib/2.0.3/", "requires_dist": null, "requires_python": null, "summary": "A documented python library to consume the full pingdom API", "version": "2.0.3" }, "last_serial": 1977280, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a66c0c104d545d827f7e88f69ec8f5fc", "sha256": "7b60fce29504953ed53b3f352d4b413a0e6313b400897df4a89ca04df8b84096" }, "downloads": -1, "filename": "PingdomLib-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a66c0c104d545d827f7e88f69ec8f5fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2656, "upload_time": "2012-10-11T13:54:17", "url": "https://files.pythonhosted.org/packages/28/00/e3bcaca09e6e0f289b0bcd15121a052558d682722e8c9fd84f0e4d461bbf/PingdomLib-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3f8330b43670d62f3170516fa48b78ba", "sha256": "50e97035f03504a6130e9aaabb9e71bd9e712c12e1ff3e7e1958967973c6e122" }, "downloads": -1, "filename": "PingdomLib-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3f8330b43670d62f3170516fa48b78ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4889, "upload_time": "2012-10-12T13:51:43", "url": "https://files.pythonhosted.org/packages/7e/11/e43d4984ed67a9f126bf69732f4692f8468ac4e94876c8d0a8cf2a186d4c/PingdomLib-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c2558d32174784971f41909c313c20f1", "sha256": "2f64cb5f70b99ddc135d9450ba83546aa0aaf2a57a99859d30cdbbd744067bcd" }, "downloads": -1, "filename": "PingdomLib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c2558d32174784971f41909c313c20f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6366, "upload_time": "2012-10-13T09:01:13", "url": "https://files.pythonhosted.org/packages/60/e9/02bedba2f490a557e7559f82248826cc896dd8b74d91a30657a7c757c9fd/PingdomLib-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "0d859a5cafc647e1b4b5d34675b4524a", "sha256": "5e94f440d55cdf768b68dd4077f89636c4a3198e6b098a21d68bae12248342cf" }, "downloads": -1, "filename": "PingdomLib-0.1.3.tar.gz", "has_sig": false, "md5_digest": "0d859a5cafc647e1b4b5d34675b4524a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7819, "upload_time": "2012-10-16T12:34:15", "url": "https://files.pythonhosted.org/packages/a9/d4/5e8a7b097ced4edf8bb413283249dc902f82f65cf1b9158606ca3678c50e/PingdomLib-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "7d6bc55cd36c6700b0f9d096baddc941", "sha256": "e115144e39c66cb4e5faad7d1bdc53f1e3da7785e91636d1bac6a68455878e84" }, "downloads": -1, "filename": "PingdomLib-0.1.4.tar.gz", "has_sig": false, "md5_digest": "7d6bc55cd36c6700b0f9d096baddc941", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12270, "upload_time": "2012-10-17T13:13:10", "url": "https://files.pythonhosted.org/packages/2b/81/d2750631bb57f44ad5992bec73a5b512e2569b24afeab3827065a53e7136/PingdomLib-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "899a8a825fd3bfaa22cdf3284599685a", "sha256": "81521438ae0b9800c254fc4a4de23a70e65b3071730844337a7c09283303ae62" }, "downloads": -1, "filename": "PingdomLib-0.1.5.tar.gz", "has_sig": false, "md5_digest": "899a8a825fd3bfaa22cdf3284599685a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16006, "upload_time": "2012-10-19T11:28:35", "url": "https://files.pythonhosted.org/packages/ea/1b/17252e1c8e31d5457400217869d8e187686b737c59a5bc779526aa7626c1/PingdomLib-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "d9cb398d99c6c28b8e12e02b59803ff0", "sha256": "f3d65f6cd48913e7bf2d948beab8074a1a340eb8a7569f2ae1c231728877db95" }, "downloads": -1, "filename": "PingdomLib-0.1.6.tar.gz", "has_sig": false, "md5_digest": "d9cb398d99c6c28b8e12e02b59803ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16058, "upload_time": "2013-01-07T18:57:41", "url": "https://files.pythonhosted.org/packages/9e/62/ed5cab3b195a99301c6dfa448337dbb9843459ef41974b2eb7786428e770/PingdomLib-0.1.6.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "74b97c73e485881ff06cda3a13e0c332", "sha256": "eb52da44bfd88c844093b2a0cd1b7b54ed0e056ad5694b428814e8ac53d3c344" }, "downloads": -1, "filename": "PingdomLib-1.0.tar.gz", "has_sig": false, "md5_digest": "74b97c73e485881ff06cda3a13e0c332", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15548, "upload_time": "2013-10-26T15:35:49", "url": "https://files.pythonhosted.org/packages/eb/b7/60756c4b211271bdaa6f36822e152362df77af6fe511d30b9d3ab42c44a8/PingdomLib-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "bc98886f14da80e278bb16f06f293553", "sha256": "cbfeca4c2040b52a5cf833f2dfa3b8dd0105a8ad74de63d2ea0a28893653bb5b" }, "downloads": -1, "filename": "PingdomLib-1.1.tar.gz", "has_sig": false, "md5_digest": "bc98886f14da80e278bb16f06f293553", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15494, "upload_time": "2013-12-30T18:56:01", "url": "https://files.pythonhosted.org/packages/d2/41/e2efd3b4c43c76d159b541f8c3cc0e7258a84a8b35234785f9bc0ab2ec72/PingdomLib-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "07592143a06154d5044f471e376cb725", "sha256": "a7fc16629c672e8dca3e5b3042f7001418527140996f05baafdd36668b3e3253" }, "downloads": -1, "filename": "PingdomLib-1.2.tar.gz", "has_sig": false, "md5_digest": "07592143a06154d5044f471e376cb725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15737, "upload_time": "2014-03-03T16:36:00", "url": "https://files.pythonhosted.org/packages/5c/db/299596f8cfb3495cc99f5c3517b6dbfbda78929f4f83cff1db0079904245/PingdomLib-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "167200b035f045f25deca108c5b25aca", "sha256": "d3bdacf6d001a81521a026c6b3d686d26bc1ffa37fb871cd8390a451e4617348" }, "downloads": -1, "filename": "PingdomLib-1.3.tar.gz", "has_sig": false, "md5_digest": "167200b035f045f25deca108c5b25aca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15888, "upload_time": "2014-05-16T16:58:59", "url": "https://files.pythonhosted.org/packages/68/42/5a57f97c76145fa7ee19e90f01adff5b4ea2832774ba3f5a51192be87215/PingdomLib-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "ff99044598cc97554e212cf88ad2645a", "sha256": "52ce2837a8e1652fe685a11feabf138c9a5c43e8dd1aa5e60ae34a49be087567" }, "downloads": -1, "filename": "PingdomLib-1.4.tar.gz", "has_sig": false, "md5_digest": "ff99044598cc97554e212cf88ad2645a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16306, "upload_time": "2014-06-09T15:40:12", "url": "https://files.pythonhosted.org/packages/90/ad/02c74397f61f11a8ea3b37f174ad9a410df678846a17a0fffcd0910764e6/PingdomLib-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "d053d393efb9f972a2ddcea1112119ae", "sha256": "3fa00057e4e9155564da05a48ae0ac6dfd1817c32830b91b9690d1d5de08b51e" }, "downloads": -1, "filename": "PingdomLib-1.5.tar.gz", "has_sig": false, "md5_digest": "d053d393efb9f972a2ddcea1112119ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16809, "upload_time": "2014-07-08T17:42:40", "url": "https://files.pythonhosted.org/packages/fe/f4/b22afafca82bf4ddd94cdff2acc3dfa21705464ffd24c98d4dac99080933/PingdomLib-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "5bfb298a0f796967d1d31d1de12c5821", "sha256": "bd25d3b9a76def4bcb569c402efcf4d9c0683b527afc9216ecd9f8748b62c839" }, "downloads": -1, "filename": "PingdomLib-1.6.tar.gz", "has_sig": false, "md5_digest": "5bfb298a0f796967d1d31d1de12c5821", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16874, "upload_time": "2014-07-29T16:53:48", "url": "https://files.pythonhosted.org/packages/8e/d3/151a8dad476f3646bfd8baefbccc52dadddf33ec9ba2eab5703bd421a7c7/PingdomLib-1.6.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "966a70a33dc3fda4c5cfde2b32b2cb03", "sha256": "d694e20a16bc02afaeefde7c42e5daee79601253d9b44436074026a07f3b314a" }, "downloads": -1, "filename": "PingdomLib-1.7.tar.gz", "has_sig": false, "md5_digest": "966a70a33dc3fda4c5cfde2b32b2cb03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17040, "upload_time": "2014-08-18T14:31:27", "url": "https://files.pythonhosted.org/packages/b8/48/906a1501c4415c97ca0e3d5d07070e6d028071de2506888c2bdb3fde20f7/PingdomLib-1.7.tar.gz" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "c93783f81ed80e33281e2b95f2b26bc2", "sha256": "68f0486d2023f8da6bbbd9505235c5ef0941454a0e6c8e1d9b84625633e0f49b" }, "downloads": -1, "filename": "PingdomLib-1.8.tar.gz", "has_sig": false, "md5_digest": "c93783f81ed80e33281e2b95f2b26bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17231, "upload_time": "2014-12-30T17:41:33", "url": "https://files.pythonhosted.org/packages/bd/ac/a6f16af5da3fe2b5681f4c76c25ea0cbd309942fbedcd4ef290a3a7269a9/PingdomLib-1.8.tar.gz" } ], "1.9": [ { "comment_text": "", "digests": { "md5": "af0127cb3a0436ec6f708a0a0ac72ac6", "sha256": "648dd64a8f4338272406cd11b367ff5e3defa797f6ef70ea10ec73a31906049d" }, "downloads": -1, "filename": "PingdomLib-1.9.tar.gz", "has_sig": false, "md5_digest": "af0127cb3a0436ec6f708a0a0ac72ac6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17804, "upload_time": "2015-01-29T19:59:14", "url": "https://files.pythonhosted.org/packages/3b/ea/636170dad3c3ccd243010725470b0de2c62cd2a9a9fc74c1810e4f27dbf1/PingdomLib-1.9.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "daee8db63b7d5d7a21454bee28823ded", "sha256": "6513d5958613a213591efc4e191a6222b9067872e3dacba0a651bfd162799295" }, "downloads": -1, "filename": "PingdomLib-2.0.0.tar.gz", "has_sig": false, "md5_digest": "daee8db63b7d5d7a21454bee28823ded", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17706, "upload_time": "2015-03-12T13:16:32", "url": "https://files.pythonhosted.org/packages/f8/40/e27f978e46592ccb3a6ed1cd3aba5f0e00cfe8f589814e07bdb4b6c9d5a1/PingdomLib-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "9f65c4add320341c1deb923cd5bc868d", "sha256": "8d2be619e563e559e389f2aba4a2fc5f2fc9f35705fd0ae7013681224f90b0c0" }, "downloads": -1, "filename": "PingdomLib-2.0.1.tar.gz", "has_sig": false, "md5_digest": "9f65c4add320341c1deb923cd5bc868d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17801, "upload_time": "2015-04-27T12:49:45", "url": "https://files.pythonhosted.org/packages/d9/73/2380455f8d9c47f5a716d2e58dfd4fa15e87f700ee3e0b167db9c5ed61c5/PingdomLib-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "071339c02ab772d4eab3b2b74da0f242", "sha256": "9ad50c28606c431db9ee4246adda31ba40d0b81982cc88317544cc7d951632cc" }, "downloads": -1, "filename": "PingdomLib-2.0.2.tar.gz", "has_sig": false, "md5_digest": "071339c02ab772d4eab3b2b74da0f242", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17805, "upload_time": "2015-07-10T14:18:00", "url": "https://files.pythonhosted.org/packages/e0/43/90d228699344f92aca0c4a357491cd980aede9b0ac35ec26cad39d973c89/PingdomLib-2.0.2.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "3b925673e1394a2e17ef2c88d53f330f", "sha256": "233648db2d0a339f505959cfd56cef973d1d882af0e127166ca90382c56f590f" }, "downloads": -1, "filename": "PingdomLib-2.0.3.tar.gz", "has_sig": false, "md5_digest": "3b925673e1394a2e17ef2c88d53f330f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18061, "upload_time": "2016-02-26T02:05:24", "url": "https://files.pythonhosted.org/packages/13/03/9bd6855caa9c131a26b86617befbab56a31f1d54eccc1234eab21996735a/PingdomLib-2.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b925673e1394a2e17ef2c88d53f330f", "sha256": "233648db2d0a339f505959cfd56cef973d1d882af0e127166ca90382c56f590f" }, "downloads": -1, "filename": "PingdomLib-2.0.3.tar.gz", "has_sig": false, "md5_digest": "3b925673e1394a2e17ef2c88d53f330f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18061, "upload_time": "2016-02-26T02:05:24", "url": "https://files.pythonhosted.org/packages/13/03/9bd6855caa9c131a26b86617befbab56a31f1d54eccc1234eab21996735a/PingdomLib-2.0.3.tar.gz" } ] }