{ "info": { "author": "Keith Hackbarth", "author_email": "keith@clowder.io", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "# Clowder Python Client\n\nThis is the python repository for the Clowder python client.\n\n### How to install\n```\nsudo pip install clowder\n```\n\n\n### How to test\n\nBasic example for tracking memory usage on server\nCreate a python file memory_usage.py\n\n```\nimport clowder\nimport psutil\n\nclowder.api_key = '29rTtCyrBfZvABBMMbne'\n\nclowder.ok({\n 'name': 'Memory Utilization',\n 'value': psutil.phymem_usage().percent\n})\n```\n\n### How to use\n\nRun the file and make sure it works\n\n```\npython memory_usage.py\n```\n\nThen create a cron job to run every 5 minutes\n\n```\n*/5 * * * * python memory_usage.py\n```\n\n### Parameters\n\nPassed as python dictionary\n\n- *name*: (string - REQUIRED) A unique name for the check. All checks with this name will be combined.\n- *url*: (string - optional) The url to send data to. Defaults to www.clowder.io\n- *value*: (float - optional) The value of the check (such as response time, queue length, rows processed, etc.)\n- *status*: (integer - optional) Whether our not the check is passing (1, 0, -1). If failing, an alert is send.\n- *frequency*: (integer - optional) Duration in minutes until next check. If time passes without check, alert sounds.\n- *alert*: (function - optional) A lamdba function that passes or fails based on *value*\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/keithhackbarth/clowder_client/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/keithhackbarth/clowder_client", "keywords": "clowder", "license": "LICENCE.txt", "maintainer": "", "maintainer_email": "", "name": "clowder", "package_url": "https://pypi.org/project/clowder/", "platform": "Cross-platform", "project_url": "https://pypi.org/project/clowder/", "project_urls": { "Download": "https://github.com/keithhackbarth/clowder_client/archive/master.zip", "Homepage": "https://github.com/keithhackbarth/clowder_client" }, "release_url": "https://pypi.org/project/clowder/0.1.6/", "requires_dist": null, "requires_python": "", "summary": "Client for the Clowder monitoring server", "version": "0.1.6" }, "last_serial": 3101794, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4af8d190dd4e38aa5734919e63af65a9", "sha256": "ff7f781b24c834f2faf15c197ed845b0db0e86fccde517b0436b285c8de1bd3e" }, "downloads": -1, "filename": "clowder-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4af8d190dd4e38aa5734919e63af65a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9812, "upload_time": "2015-06-25T23:32:56", "url": "https://files.pythonhosted.org/packages/cb/7b/8b4597cda32b7c60d5b2892cb7c0c88ac7078b7b75f20f587639ce4da041/clowder-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "908cecb2932527634f0ccb84ddc2a14a", "sha256": "121935e6b8b61dc144688452a2eefa3fbee82752217aca053f3f33969b255779" }, "downloads": -1, "filename": "clowder-0.1.2.tar.gz", "has_sig": false, "md5_digest": "908cecb2932527634f0ccb84ddc2a14a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10028, "upload_time": "2015-06-25T23:33:41", "url": "https://files.pythonhosted.org/packages/99/90/1cec4fa31432399f676c8532bb334a6d0f7f2f757aab272459cfb679bbf8/clowder-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "36b7718547edd947c96014d68a9b8e3f", "sha256": "76f4c86e928dea14c570a34cc655ffab2bbb7a523b0b92c1bb97f561350bc772" }, "downloads": -1, "filename": "clowder-0.1.3.tar.gz", "has_sig": false, "md5_digest": "36b7718547edd947c96014d68a9b8e3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9985, "upload_time": "2017-08-14T18:40:49", "url": "https://files.pythonhosted.org/packages/34/22/2473df195a20e12c342f97b9457be64f1851e71601364fbe728e4acdbd12/clowder-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "f966587be4e1186d9c6dc130b3b68597", "sha256": "860a6c841f79b41fc73b6b0e994c91ca079b827152f0b23a03f833822b5439e4" }, "downloads": -1, "filename": "clowder-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f966587be4e1186d9c6dc130b3b68597", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9978, "upload_time": "2017-08-14T20:36:03", "url": "https://files.pythonhosted.org/packages/24/66/5c8367233222d6566aa6a836d4fcc8f4c39bc151f0ce4996cf59677d2b47/clowder-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "31a864d32c021db5b11e9a05bd02d81d", "sha256": "55f74a4f243ee79301e9cf6e300bfad7f2f457973f1025f213035b1a3257f34b" }, "downloads": -1, "filename": "clowder-0.1.5.tar.gz", "has_sig": false, "md5_digest": "31a864d32c021db5b11e9a05bd02d81d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9976, "upload_time": "2017-08-14T21:19:47", "url": "https://files.pythonhosted.org/packages/74/ea/2ef3f11bed0ea9953c8cb9e4f4c989ab29ff40ec9772a1fa498afcf63730/clowder-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "b2a6ed35fbcb8501567219aa21ebb399", "sha256": "78b9fb70b986459329ee89a2ac9184b40886c9bd1f963e8e1d7cba2a2f154d86" }, "downloads": -1, "filename": "clowder-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b2a6ed35fbcb8501567219aa21ebb399", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10191, "upload_time": "2017-08-16T21:07:59", "url": "https://files.pythonhosted.org/packages/0a/e5/9c415b09af9965b364a94c4f1173900176a92775ef1149abe4b88a88c83d/clowder-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2a6ed35fbcb8501567219aa21ebb399", "sha256": "78b9fb70b986459329ee89a2ac9184b40886c9bd1f963e8e1d7cba2a2f154d86" }, "downloads": -1, "filename": "clowder-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b2a6ed35fbcb8501567219aa21ebb399", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10191, "upload_time": "2017-08-16T21:07:59", "url": "https://files.pythonhosted.org/packages/0a/e5/9c415b09af9965b364a94c4f1173900176a92775ef1149abe4b88a88c83d/clowder-0.1.6.tar.gz" } ] }