Skip to main content

Adds some common health check endpoints (ping, time, status)

Project description


Flask-RestPoints is an extension to Flask that allows adds a few health check endpoints (ping, time, and status) to the Flask application.

from flask import Flask
from flask_restpoints import RestPoints

app = Flask(__name__)
rest = RestPoints(app)

@rest.status_job(name="PostgreSQL", timeout=5)
def postgresql():
    # Perform a ping/query to Postgres

def facebook
    # Ping some Facebook service.

get Flask-RestPoints

Install flask

sudo easy_install Flask-RestPoints

Download the latest release from Python Package Index or clone the repository

Project details

Download files

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

Files for Flask-RestPoints, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size Flask_RestPoints-0.0.8-py3-none-any.whl (12.5 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size Flask-RestPoints-0.0.8.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page