{ "info": { "author": "Jos\u00e9 Antonio Perdiguero L\u00f3pez", "author_email": "perdy.hh@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============\nDjango Status\n=============\n\n:Version: 2.2.1\n:Status: Production/Stable\n:Author: Jos\u00e9 Antonio Perdiguero L\u00f3pez\n\nDjango Status is an application that provides an API to check the status of some parts and some utilities like ping\nrequests. This application can works as standalone or included in a Django project.\n\nQuick start\n===========\n\n#. Install this package using pip::\n\n pip install django-status\n\n\n#. Add *PROJECT_PATH* to your django settings module.\n#. Add *status* to your **INSTALLED_APPS** settings like this::\n\n INSTALLED_APPS = (\n ...\n 'status',\n )\n\n#. Add **Django-status** urls to your project urls::\n\n urlpatterns = [\n ...\n url(r'^status/', include('status.urls')),\n ]\n\nCheck Providers\n===============\nDjango Status provides a mechanism to add new custom check functions through **check providers**. Each check provider\nwill generate a new API method with an URL that uses the name of the provider. These functions must accept \\*args and\n\\*\\*kwargs and will return a JSON-serializable object through json.dumps() method, for example a ping function::\n\n def ping(*args, **kwargs):\n return {'pong': True}\n\nBy default **Django status** provides the follow checks:\n\nPing\n A ping to application.\n URL: /api/health/ping\n\nDatabases\n Check if databases are running.\n URL: /api/health/databases\n\nCaches\n Check if caches are running.\n URL: /api/health/caches\n\nCelery\n Check if celery workers defined in settings are running.\n URL: /api/health/celery\n\nDatabases stats\n Show stats for all databases.\n URL: /api/stats/databases\n\nCelery stats\n Show celery worker stats.\n URL: /api/stats/celery\n\nCode\n Source code stats such as current active branch, last commit, if debug is active...\n URL: /api/stats/code\n\nDjango Status website\n=====================\nA website that shows Django Status data is available in this application. It's possible access to follow URLs to get a\ndetailed view of your system status. Those three pages will show results of providers configured (as explained in\nsettings section)::\n\n http://www.website.com/status/\n http://www.website.com/status/health/\n http://www.website.com/status/stats/\n\nDjango Status API\n=================\nDjango Status API can be used as a standalone application including only their urls::\n\n urlpatterns = [\n ...\n url(r'^status/', include('status.api.urls')),\n ]\n\nThis API have a single url for each provider, that are grouped by resources.\nEach provider can be queried alone, returning his current status::\n\n http://your_domain/status/api/health/ping\n\nAlso there is a resource view that will return the status of all providers::\n\n http://your_domain/status/api/health\n\nFor last, there is a root view that will return the status of all providers from all resources::\n\n http://your_domain/status/api\n\nDjango management commands\n==========================\nDjango Status provides a django management command to query current status of a resource. This command can be call as::\n\n python manage.py status [options]\n\nTo get current status of health checks, and exit with an error if some check is failing::\n\n python manage.py status health -e\n\nEach resource has its own set of options that can be displayed through command help::\n\n python manage.py status -h\n\nCommand\n=======\nPrevious Django command can be used in standalone mode as::\n\n django_status [options]\n\nSettings\n========\nSTATUS_CHECK_PROVIDERS\n----------------------\nList of additional check providers. Each provider consists in a tuple of name, function complete path, args and kwargs.\nExample::\n\n STATUS_PROVIDERS = {\n 'resource': (\n ('test', 'application.module.test_function', [1, 2], {'foo': 'bar'}),\n )\n }\n\nDefault::\n\n PROVIDERS = getattr(settings, 'STATUS_PROVIDERS', {\n 'health': (\n ('ping', 'status.providers.health.ping', None, None),\n ('databases', 'status.providers.django.health.databases', None, None),\n ('caches', 'status.providers.django.health.caches', None, None),\n ),\n 'stats': (\n ('databases', 'status.providers.django.stats.databases', None, None),\n ('code', 'status.providers.stats.code', None, None),\n )\n }\n\nSTATUS_CELERY_WORKERS\n---------------------\nList of hostname from celery workers to be checked. If any worker is defined, two additional providers listed previously\nwill be added to default set.\nDefault::\n\n STATUS_CELERY_WORKERS = ()", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/PeRDy/django-status", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PeRDy/django-status", "keywords": "python django database cache celery status check", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "django-status", "package_url": "https://pypi.org/project/django-status/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-status/", "project_urls": { "Download": "https://github.com/PeRDy/django-status", "Homepage": "https://github.com/PeRDy/django-status" }, "release_url": "https://pypi.org/project/django-status/2.2.1/", "requires_dist": [ "GitPython (>=1.0)", "pyyaml (>=3.12)", "bumpversion; extra == 'dev'", "nosetox; extra == 'dev'", "pip; extra == 'dev'", "pre-commit; extra == 'dev'", "prospector; extra == 'dev'", "setuptools; extra == 'dev'", "twine; extra == 'dev'", "wheel; extra == 'dev'" ], "requires_python": "", "summary": "Application that provides an API to check the status of some parts and some utilities like ping.", "version": "2.2.1" }, "last_serial": 2660422, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5d9eda3df3274c79ce80bd5e1a9c2232", "sha256": "7f29fa08d034987bd8a0a3c35755a02bd327d004b987ad8f5b76531c1cc09d95" }, "downloads": -1, "filename": "django-status-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5d9eda3df3274c79ce80bd5e1a9c2232", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11336, "upload_time": "2015-10-14T16:21:32", "url": "https://files.pythonhosted.org/packages/0d/1d/51c39c93dd8d45c9fa57efe00926a518b3d17eb3f97e92faed567cc4ae57/django-status-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5565ea8946dc2724f36d187fcc43bbc1", "sha256": "0b55fd02763d20f5739eb897e5c2c7f5e6031ebe8a3326832798e89bfa66928c" }, "downloads": -1, "filename": "django-status-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5565ea8946dc2724f36d187fcc43bbc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11681, "upload_time": "2015-10-14T16:39:36", "url": "https://files.pythonhosted.org/packages/88/ca/c62ded67d5765182f3bc5a581a76aeec72418d5ea1ecfc88e023ba3902fc/django-status-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "20e5a79e56d267a85e2acc9d0b7347d9", "sha256": "72970668c23e14fb6218cc6de783a59e707fa199ea99019651dd0125ad8d6df3" }, "downloads": -1, "filename": "django-status-1.0.3.tar.gz", "has_sig": false, "md5_digest": "20e5a79e56d267a85e2acc9d0b7347d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11793, "upload_time": "2015-10-15T09:39:17", "url": "https://files.pythonhosted.org/packages/68/b5/c214e51bf0c7f0c5dca40a2612fe6c0b97ebf214a579dc6881648d7128a0/django-status-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "2738a3481af41089494c71a79ec6c04b", "sha256": "3bda5ada93cdaca901f2fafeb5e546021f886c9c7764d56a24a1d4e73ccd4f23" }, "downloads": -1, "filename": "django-status-1.0.4.tar.gz", "has_sig": false, "md5_digest": "2738a3481af41089494c71a79ec6c04b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6552, "upload_time": "2015-12-14T11:55:31", "url": "https://files.pythonhosted.org/packages/ea/b7/66b6bac4e80a9748f56d8dda2fc15a9a915d38e1ab691b9453241c742760/django-status-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "ec0e762780415717faefce4b3e869c83", "sha256": "a3879610ee1768c6c72b90898d8d495269c978a3def019893f10bd9b51591561" }, "downloads": -1, "filename": "django_status-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ec0e762780415717faefce4b3e869c83", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 23491, "upload_time": "2016-01-20T17:13:09", "url": "https://files.pythonhosted.org/packages/3f/66/f56c93a8c8b3e689dfeaedc34f6f9f50fa34d7704c0e7f571b1a0b9dde9c/django_status-1.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f677a51108438cc04188738e1b85292f", "sha256": "b8cade6a49c20d15f7207dd0820a5344721d32f50097096b64fe94c233ce36ac" }, "downloads": -1, "filename": "django-status-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f677a51108438cc04188738e1b85292f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6726, "upload_time": "2016-01-20T17:12:42", "url": "https://files.pythonhosted.org/packages/be/34/c4dbf477a5d95f13be733e42e38ae96e932916f368810fd61d85f6cbcc1b/django-status-1.0.5.tar.gz" } ], "1.1.0": [], "1.1.1": [ { "comment_text": "", "digests": { "md5": "049583df7d02a1144acd9c3a2f530bf7", "sha256": "d112b00aafbb0a2ee3b4cc75c23ffb947914cbfd36cf0e465c8b748ca7d7871f" }, "downloads": -1, "filename": "django-status-1.1.1.tar.gz", "has_sig": false, "md5_digest": "049583df7d02a1144acd9c3a2f530bf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7278, "upload_time": "2016-04-06T16:33:16", "url": "https://files.pythonhosted.org/packages/b4/b5/ca9d6e6ca40aae99fa87a680ded95aff8401475ca687e6b84a5786e549c2/django-status-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "02a9f8f5576a749f4d4e317ba7a7de6e", "sha256": "7a40068e989f4c5cc4f88494ebb4e0d72dc87b53b0337c1d843b2fe8f82e3a3e" }, "downloads": -1, "filename": "django-status-1.1.2.tar.gz", "has_sig": false, "md5_digest": "02a9f8f5576a749f4d4e317ba7a7de6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7441, "upload_time": "2016-04-08T11:22:59", "url": "https://files.pythonhosted.org/packages/01/9b/d82d744a09217100da6c734407f699d153018d472f400ba264476e98a1cd/django-status-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "4bc8d191ed6df048b10f95415ce93d4a", "sha256": "11a3e4f7fa96116c58ac3900c34f4f0e2e1757f5b017faa555b19d9eeabb123b" }, "downloads": -1, "filename": "django_status-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4bc8d191ed6df048b10f95415ce93d4a", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12801, "upload_time": "2016-05-17T12:08:49", "url": "https://files.pythonhosted.org/packages/a0/63/1a4f98dcaf2dc04a7323c3aabf5b1678841a69111b66cd2f9e0885465614/django_status-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8cc8f5520416db3ffdb63991f98d7952", "sha256": "a005b75f0bd9a541d17c8b54598d2f316f72110fa2ee1298396236fd7b7d9bc8" }, "downloads": -1, "filename": "django-status-1.2.0.tar.gz", "has_sig": false, "md5_digest": "8cc8f5520416db3ffdb63991f98d7952", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9231, "upload_time": "2016-05-17T12:08:44", "url": "https://files.pythonhosted.org/packages/23/9c/22d2ecf1eb9bd0e456acd5ae534f0455dbc244833d9fdeea9bbdfaecf7e9/django-status-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "ea33ec6435a389c5b95d352a763d1f5d", "sha256": "25d4505d483c298c6aa15cba8c8d5f2a9feb691d487f34faa28b015317f801a5" }, "downloads": -1, "filename": "django_status-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea33ec6435a389c5b95d352a763d1f5d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11307, "upload_time": "2016-08-31T11:27:18", "url": "https://files.pythonhosted.org/packages/03/0d/27bbd42de1ad98ac89641cfdfc101a202b8e67a78de2a63f1f65c6f2f27f/django_status-1.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c5d8d79ceb11911816002a2f6f8ed00", "sha256": "d6c9ec675347ec92334df796986782ca88668248b53f9e379afc91cfdaabf466" }, "downloads": -1, "filename": "django-status-1.2.1.tar.gz", "has_sig": false, "md5_digest": "2c5d8d79ceb11911816002a2f6f8ed00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8282, "upload_time": "2016-08-31T11:27:15", "url": "https://files.pythonhosted.org/packages/88/25/2793d105350f3940e81b1bca268b7a68599dca91d0bc1d2a5e565c8b8f35/django-status-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "6bdc2a228cdf292fd142c306fbd82a26", "sha256": "fb4a197eb9b13c1ee118003203cd4c16e23b94c2a2a7b884d1939987260d92f6" }, "downloads": -1, "filename": "django_status-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6bdc2a228cdf292fd142c306fbd82a26", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 16751, "upload_time": "2016-08-31T13:40:51", "url": "https://files.pythonhosted.org/packages/f5/6f/43bee7fc5ec77925efe509429761167b35ef59228e5c23c800e488988202/django_status-1.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8dcb583b62ecba3285d943b14eb40af7", "sha256": "4bf017d623fb3b7e19aef63abb835db289f9853eea8bda928b6c1295f5e0ef44" }, "downloads": -1, "filename": "django-status-1.3.0.tar.gz", "has_sig": false, "md5_digest": "8dcb583b62ecba3285d943b14eb40af7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11187, "upload_time": "2016-08-31T13:40:49", "url": "https://files.pythonhosted.org/packages/9e/02/f774ee874ae4974d106bb946c863767d8c8e4b250193798d46e839d084cb/django-status-1.3.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "0eedd537c612f59b0e48670dc1bf3a1b", "sha256": "fa535196e4439cc31aa26c50835605d111b1a75a45e89123c3582db727e85066" }, "downloads": -1, "filename": "django_status-2.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0eedd537c612f59b0e48670dc1bf3a1b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 913560, "upload_time": "2016-10-03T09:57:13", "url": "https://files.pythonhosted.org/packages/d9/7f/cc0bd468e6c4730cb6475da5c0766ae65a371e7f7990e5da89d3814510ee/django_status-2.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bde80b9586f54ba1b52637ed5f7b2e5c", "sha256": "6810401e01cbf89acbc732e136230eb4828a0b663cae280c91eb86e769489270" }, "downloads": -1, "filename": "django-status-2.1.0.tar.gz", "has_sig": false, "md5_digest": "bde80b9586f54ba1b52637ed5f7b2e5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 900638, "upload_time": "2016-10-03T10:01:05", "url": "https://files.pythonhosted.org/packages/e5/a5/07fb8175a179ecccdf5c9d4efc2905289f45942032f0b68a3dab9e8eae8d/django-status-2.1.0.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "cfda3f67144dd916fff2900478d13bf7", "sha256": "a66a036b875eafa5e9d481525fe3f08e36d00c05533865977658e17090692481" }, "downloads": -1, "filename": "django_status-2.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cfda3f67144dd916fff2900478d13bf7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 928953, "upload_time": "2017-02-21T17:23:03", "url": "https://files.pythonhosted.org/packages/1a/e3/1c44b7d9226d25198a875f56b76cbba086823c639ab31586adcee35fff1d/django_status-2.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c895ff39ea04c3b3b26a2a7a77b43c0b", "sha256": "ad60d82c87b31f84bebae176c44e0e99767c51ca94b814a785d9c40ffed67f85" }, "downloads": -1, "filename": "django-status-2.2.0.tar.gz", "has_sig": false, "md5_digest": "c895ff39ea04c3b3b26a2a7a77b43c0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 899453, "upload_time": "2017-02-21T17:23:07", "url": "https://files.pythonhosted.org/packages/10/1d/811f899eeed38b4a4165b0119e967968dfec0fd04b67a3d336f72b775d63/django-status-2.2.0.tar.gz" } ], "2.2.1": [ { "comment_text": "", "digests": { "md5": "61a805d9cb78603e9d09e73e76e1b873", "sha256": "b4f77fe565c2813f179d917b7024de333d794b92fe8c780846a1499ec976c776" }, "downloads": -1, "filename": "django_status-2.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "61a805d9cb78603e9d09e73e76e1b873", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 928936, "upload_time": "2017-02-22T12:54:19", "url": "https://files.pythonhosted.org/packages/93/de/b88996d261fccb93ef33ab3e1ee6290ffc088b8357017527b87d05af5ea7/django_status-2.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e6fc937dc7db914fb1cd99496b5a8e22", "sha256": "7a62715663060c4f3937273383fe65f56efd4182e0274581ac78851288292e5b" }, "downloads": -1, "filename": "django-status-2.2.1.tar.gz", "has_sig": false, "md5_digest": "e6fc937dc7db914fb1cd99496b5a8e22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 899449, "upload_time": "2017-02-22T12:54:23", "url": "https://files.pythonhosted.org/packages/1f/2c/80a183a46b33afa965f01d39ef5b29a57563d85e0759ca66987230d22a3b/django-status-2.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61a805d9cb78603e9d09e73e76e1b873", "sha256": "b4f77fe565c2813f179d917b7024de333d794b92fe8c780846a1499ec976c776" }, "downloads": -1, "filename": "django_status-2.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "61a805d9cb78603e9d09e73e76e1b873", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 928936, "upload_time": "2017-02-22T12:54:19", "url": "https://files.pythonhosted.org/packages/93/de/b88996d261fccb93ef33ab3e1ee6290ffc088b8357017527b87d05af5ea7/django_status-2.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e6fc937dc7db914fb1cd99496b5a8e22", "sha256": "7a62715663060c4f3937273383fe65f56efd4182e0274581ac78851288292e5b" }, "downloads": -1, "filename": "django-status-2.2.1.tar.gz", "has_sig": false, "md5_digest": "e6fc937dc7db914fb1cd99496b5a8e22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 899449, "upload_time": "2017-02-22T12:54:23", "url": "https://files.pythonhosted.org/packages/1f/2c/80a183a46b33afa965f01d39ef5b29a57563d85e0759ca66987230d22a3b/django-status-2.2.1.tar.gz" } ] }