{ "info": { "author": "Tim Martin", "author_email": "tim@timmartin.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "==============\nStatus Checker\n==============\n\n\n.. image:: https://img.shields.io/pypi/v/pystatuschecker.svg\n :target: https://pypi.python.org/pypi/pystatuschecker\n\n.. image:: https://img.shields.io/travis/timmartin19/pystatuschecker.svg\n :target: https://travis-ci.org/timmartin19/pystatuschecker\n\n.. image:: https://readthedocs.org/projects/pystatuschecker/badge/?version=latest\n :target: https://status-checker.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/timmartin19/pystatuschecker/shield.svg\n :target: https://pyup.io/repos/github/timmartin19/pystatuschecker/\n :alt: Updates\n\n\nA very simple package for checking the status of a service and its components\n\n\n* Free software: MIT license\n* Documentation: https://pystatuschecker.readthedocs.io.\n\n\nExamples\n--------\n\n.. code-block:: python\n\n from status_checker import StatusChecker\n\n def check_database(config):\n # ... check if it's up and either return a dictionary like\n # {'available': } or throw an exception\n\n def check_other_service(config):\n # ... same as above\n\n status_checker = StatusChecker(database=check_database, other_service=check_other_service)\n status_dict = status_checker.status(config)\n\nThe status_dict include the state of the components\nin the 'components' key, the `failure_count`, and the `status`\nof the service as a whole\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\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/timmartin19/pystatuschecker", "keywords": "status_checker", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pystatuschecker", "package_url": "https://pypi.org/project/pystatuschecker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pystatuschecker/", "project_urls": { "Homepage": "https://github.com/timmartin19/pystatuschecker" }, "release_url": "https://pypi.org/project/pystatuschecker/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A very simple package for checking the status of a service and its components", "version": "0.1.3" }, "last_serial": 2207176, "releases": { "0.1.2": [], "0.1.3": [ { "comment_text": "", "digests": { "md5": "97db77d590e84694decbbcde26b3f20a", "sha256": "13f9220f0c973ce4e654ba16743d77748c3b1a06f5f57db817894c413f928cbe" }, "downloads": -1, "filename": "pystatuschecker-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "97db77d590e84694decbbcde26b3f20a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3620, "upload_time": "2016-07-07T03:58:14", "url": "https://files.pythonhosted.org/packages/29/16/450b8eeebeba8ed67b4e3ffe28a6addce5b6b0f3abf6593b546ccd50414d/pystatuschecker-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "385fd1645f933403b950cdbabdd780a5", "sha256": "36a2c3f7ce9765f0fc3dedbd850398cfbf923f2f39ab6c0d1c17d33c7e68ac6b" }, "downloads": -1, "filename": "pystatuschecker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "385fd1645f933403b950cdbabdd780a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2939, "upload_time": "2016-07-07T03:58:17", "url": "https://files.pythonhosted.org/packages/b0/bb/17c68b215e7ef58b9b2e590f5d0c67531cdd0a28ae32fd46d2dc439c5b38/pystatuschecker-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97db77d590e84694decbbcde26b3f20a", "sha256": "13f9220f0c973ce4e654ba16743d77748c3b1a06f5f57db817894c413f928cbe" }, "downloads": -1, "filename": "pystatuschecker-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "97db77d590e84694decbbcde26b3f20a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3620, "upload_time": "2016-07-07T03:58:14", "url": "https://files.pythonhosted.org/packages/29/16/450b8eeebeba8ed67b4e3ffe28a6addce5b6b0f3abf6593b546ccd50414d/pystatuschecker-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "385fd1645f933403b950cdbabdd780a5", "sha256": "36a2c3f7ce9765f0fc3dedbd850398cfbf923f2f39ab6c0d1c17d33c7e68ac6b" }, "downloads": -1, "filename": "pystatuschecker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "385fd1645f933403b950cdbabdd780a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2939, "upload_time": "2016-07-07T03:58:17", "url": "https://files.pythonhosted.org/packages/b0/bb/17c68b215e7ef58b9b2e590f5d0c67531cdd0a28ae32fd46d2dc439c5b38/pystatuschecker-0.1.3.tar.gz" } ] }