{ "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": "py-status-checker", "package_url": "https://pypi.org/project/py-status-checker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py-status-checker/", "project_urls": { "Homepage": "https://github.com/timmartin19/pystatuschecker" }, "release_url": "https://pypi.org/project/py-status-checker/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A very simple package for checking the status of a service and its components", "version": "0.1.2" }, "last_serial": 2207169, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "d67c75f453734bd8cf36d04b242da1ee", "sha256": "6bad77fac19370ba13a51ef60b6de0d274ca9c8b69987ea5aac4350987b389e7" }, "downloads": -1, "filename": "py_status_checker-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d67c75f453734bd8cf36d04b242da1ee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3651, "upload_time": "2016-07-07T03:54:06", "url": "https://files.pythonhosted.org/packages/ae/30/859831bd89d1fe03ab1115ee56f4449c0f34d8cb182b50207a11439dc7e4/py_status_checker-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2662459f0b1527810fda2319854fbb83", "sha256": "948263a73fe1fb15dccd4c715d754c2a3ef7aea708ee8c3b0e68b71d98f51237" }, "downloads": -1, "filename": "py-status-checker-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2662459f0b1527810fda2319854fbb83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2950, "upload_time": "2016-07-07T03:54:10", "url": "https://files.pythonhosted.org/packages/0d/08/aa1e61089ded5b34bba3cd53eb8e622a06a5207723dd83553b9d372c7f86/py-status-checker-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "3bad5c0507283066a82be622f3a04bb0", "sha256": "adf20e2acec8d2e73faf73f4b94738f417636094ef922411484463fb7add493b" }, "downloads": -1, "filename": "py_status_checker-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3bad5c0507283066a82be622f3a04bb0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3651, "upload_time": "2016-07-07T03:55:42", "url": "https://files.pythonhosted.org/packages/c0/c2/ce55b089e83e3df11f55a0ba3dcb0a9712accc3a5d43b277017d3ca40ed2/py_status_checker-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bb3647c6e34974e75df8baa7c7ef030", "sha256": "bb18f4c50917099d043b8f367938a4dec80dcdf139703d5d6c29941e83d38a78" }, "downloads": -1, "filename": "py-status-checker-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5bb3647c6e34974e75df8baa7c7ef030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2950, "upload_time": "2016-07-07T03:55:46", "url": "https://files.pythonhosted.org/packages/69/a9/fcc7ae8425adaba1d7d5f29129e277323f4765a97f31158a8533158bf7e5/py-status-checker-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3bad5c0507283066a82be622f3a04bb0", "sha256": "adf20e2acec8d2e73faf73f4b94738f417636094ef922411484463fb7add493b" }, "downloads": -1, "filename": "py_status_checker-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3bad5c0507283066a82be622f3a04bb0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3651, "upload_time": "2016-07-07T03:55:42", "url": "https://files.pythonhosted.org/packages/c0/c2/ce55b089e83e3df11f55a0ba3dcb0a9712accc3a5d43b277017d3ca40ed2/py_status_checker-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bb3647c6e34974e75df8baa7c7ef030", "sha256": "bb18f4c50917099d043b8f367938a4dec80dcdf139703d5d6c29941e83d38a78" }, "downloads": -1, "filename": "py-status-checker-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5bb3647c6e34974e75df8baa7c7ef030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2950, "upload_time": "2016-07-07T03:55:46", "url": "https://files.pythonhosted.org/packages/69/a9/fcc7ae8425adaba1d7d5f29129e277323f4765a97f31158a8533158bf7e5/py-status-checker-0.1.2.tar.gz" } ] }