nickodell / healthchecks_wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple HealthChecks Wrapper

Documentation Status

Context manager around service provided by healthchecks.io for easy use.

Free software: MIT license

Features

  • Zero requirements outside the standard library
  • Easily report the status of your python jobs
  • Reports exceptions to HealthChecks as meta data

Getting started

Make a free account with at healthchecks.io and create a check. You need to copy the url of the check endpoint.

Install the dependencies

pip install healthchecks-wrapper

Use it in your job

from healthchecks_wrapper import HealthCheck

with HealthCheck(valid_ping_url):
  # Your job
    ...
Buy Me A Coffee

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

License:MIT License


Languages

Language:Python 67.3%Language:Makefile 32.7%