Skip to main content

Tools to support adding a Django-based service to Ministry of Justice's Incidence Response and Tuning

Project description

A set of tools to make it easier to add a Django-based service to Ministry of Justice’s Incidence Response and Tuning:

  • ping.json view

  • healthcheck.json view with extensible healthchecks

Usage

Install using pip install django-moj-irat.

Django settings:

HEALTHCHECKS = [
    'moj_irat.healthchecks.database_healthcheck',
    # override default list of healthcheck callables
]
AUTODISCOVER_HEALTHCHECKS = True  # whether to autodiscover and load healthcheck.py from all installed apps

Development

https://travis-ci.org/ministryofjustice/django-moj-irat.svg?branch=master

Please report bugs and open pull requests on GitHub.

Use python setup.py test to run all tests.

Distribute a new version by updating the version argument in setup.py:setup and run python setup.py sdist bdist_wheel upload.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-moj-irat-0.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

django_moj_irat-0.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

django_moj_irat-0.4-py2-none-any.whl (7.0 kB view details)

Uploaded Python 2

File details

Details for the file django-moj-irat-0.4.tar.gz.

File metadata

  • Download URL: django-moj-irat-0.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-moj-irat-0.4.tar.gz
Algorithm Hash digest
SHA256 5c7106a37eedaa3e862ccc26e1575917498d0d4dff4048d45bf81e042ae7f5a3
MD5 08b7b097441a145f3aebb55f94a11357
BLAKE2b-256 e00546d4695b637f47fe9a1002c94b7b379cf8241ee0b050c45ede8e099e1f09

See more details on using hashes here.

File details

Details for the file django_moj_irat-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_moj_irat-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 06914deb42f0e9160a2f493cf85c5571efafa5fd23cb49aac7bb2278b0066937
MD5 65fbf7d7d0b91d50aa67ed4d7f1e6dfe
BLAKE2b-256 5e46243d1039e0620d384b14bfb36daec90c238fe54b09f2be8625b16a1b859c

See more details on using hashes here.

File details

Details for the file django_moj_irat-0.4-py2-none-any.whl.

File metadata

File hashes

Hashes for django_moj_irat-0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 d409d3f3ec29497098e415e03b5b61e7e5311e72f427d729df91ea2576eeee23
MD5 c0b700bff819166a74f881365f3fa3e5
BLAKE2b-256 2d06c8b98312008fa64114e523058844b962cec659a3f3e2d04b05a1617275da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page